mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Kills all unneeded uses of spawn() (#63876)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
co-authored by
Mothblocks
parent
c31e3fd008
commit
eea6591f56
@@ -6,6 +6,10 @@
|
||||
if(observetarget && ismob(observetarget))
|
||||
cleanup_observe()
|
||||
..()
|
||||
// This is one of very few spawn()s left in our codebase
|
||||
// Yes it needs to be like this
|
||||
// No, you're not allowed to use spawn() yourself, unless you're making something that needs to work outside timers
|
||||
// Don't be a dumbass, I will always be watching
|
||||
spawn(0)
|
||||
if(src && !key) //we've transferred to another mob. This ghost should be deleted.
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user