Skip to content

Commit

Permalink
Stops bags from spawning under objects
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerfulBacon committed Apr 8, 2024
1 parent 042cc03 commit cb8e5a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
var/tc_count = rand(4, 3 + length(teams))
// Put the deaddrop somewhere
var/turf/selected = get_random_station_turf()
while (!istype(selected, /turf/open/floor/iron))
while (!istype(selected, /turf/open/floor/iron) || selected.is_blocked_turf(TRUE))
selected = get_random_station_turf()
var/atom/secret_bag = new /obj/item/storage/backpack/satchel/flat/empty(selected)
target = new(secret_bag)
Expand Down

0 comments on commit cb8e5a5

Please sign in to comment.