Skip to content

Commit

Permalink
fixies the call not where it is called
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuhuuuu committed May 16, 2024
1 parent 1b71099 commit 094205c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions code/game/objects/structures/blocker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ GLOBAL_LIST_INIT(landing_zone_fog, list())
GLOB.landing_zone_fog += src
. = ..()

/obj/structure/blocker/landing_zone_fog/proc/Clear()
for(var/fog in GLOB.landing_zone_fog)
var/obj/structure/blocker/landing_zone_fog/landing_zone_fog = fog
GLOB.landing_zone_fog -= landing_zone_fog
QDEL_IN(landing_zone_fog, rand(2 SECONDS,4 SECONDS))

/obj/structure/blocker/forcefield
name = "forcefield"
Expand Down
2 changes: 1 addition & 1 deletion code/modules/shuttles/marine_ferry.dm
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@
for(var/fog in GLOB.landing_zone_fog)
var/obj/structure/blocker/landing_zone_fog/landing_zone_fog = fog
landing_zone_fog -= fog
QDEL_IN(landing_zone_fog, rand(2,4))
QDEL_IN(landing_zone_fog, rand(2 SECONDS,4 SECONDS))

moving_status = SHUTTLE_IDLE

Expand Down

0 comments on commit 094205c

Please sign in to comment.