mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
Changes a lot of del() to qdel()
This commit is contained in:
@@ -29,7 +29,7 @@ var/datum/subsystem/radio/radio_controller
|
||||
frequency.remove_listener(device)
|
||||
|
||||
if(frequency.devices.len == 0)
|
||||
del(frequency)
|
||||
qdel(frequency)
|
||||
frequencies -= f_text
|
||||
|
||||
return 1
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
if(!istype(C.mob, /mob/dead))
|
||||
log_access("AFK: [key_name(C)]")
|
||||
C << "<span class='danger'>You have been inactive for more than 10 minutes and have been disconnected.</span>"
|
||||
del(C)
|
||||
qdel(C)
|
||||
|
||||
if(config.sql_enabled)
|
||||
sql_poll_players()
|
||||
|
||||
@@ -137,7 +137,7 @@ var/datum/subsystem/ticker/ticker
|
||||
mode = config.pick_mode(master_mode)
|
||||
if(!mode.can_start())
|
||||
world << "<B>Unable to start [mode.name].</B> Not enough players, [mode.required_players] players and [mode.required_enemies] eligible antagonists needed. Reverting to pre-game lobby."
|
||||
del(mode)
|
||||
qdel(mode)
|
||||
SSjob.ResetOccupations()
|
||||
return 0
|
||||
|
||||
@@ -148,7 +148,7 @@ var/datum/subsystem/ticker/ticker
|
||||
|
||||
if(!Debug2)
|
||||
if(!can_continue)
|
||||
del(mode)
|
||||
qdel(mode)
|
||||
world << "<B>Error setting up [master_mode].</B> Reverting to pre-game lobby."
|
||||
SSjob.ResetOccupations()
|
||||
return 0
|
||||
@@ -289,8 +289,8 @@ var/datum/subsystem/ticker/ticker
|
||||
flick("station_intact",cinematic)
|
||||
world << sound('sound/ambience/signal.ogg')
|
||||
sleep(100)
|
||||
if(cinematic) del(cinematic)
|
||||
if(temp_buckle) del(temp_buckle)
|
||||
if(cinematic) qdel(cinematic)
|
||||
if(temp_buckle) qdel(temp_buckle)
|
||||
return //Faster exit, since nothing happened
|
||||
else //Station nuked (nuke,explosion,summary)
|
||||
flick("intro_nuke",cinematic)
|
||||
|
||||
Reference in New Issue
Block a user