Skip to content

Commit

Permalink
deadantloot is a pain
Browse files Browse the repository at this point in the history
  • Loading branch information
GremlingSS committed Jul 17, 2023
1 parent 1bb316c commit 6e61fa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/objects/effects/spawners/lootdrop.dm
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
loot.Remove(lootspawn)
if(lootspawn)
var/block_recursive_tier_swap = (tier_adjusted && ispath(lootspawn, /obj/effect/spawner/lootdrop))
if(istype(A, /obj/item/stack))
block_recursive_tier_swap = rand(1, 3) // Honestly dunno what I'm doing here, if I leave this be, it sets the stack to spawn as 0 :(
var/atom/movable/spawned_loot = new lootspawn(A, block_recursive_tier_swap)
if(islist(listhack))
listhack |= spawned_loot
Expand Down

0 comments on commit 6e61fa3

Please sign in to comment.