mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Fixes monkeyize runtime due to ghostize trying to remove verbs from a non-existent client
This commit is contained in:
@@ -143,7 +143,7 @@ Works together with spawning an observer, noted above.
|
|||||||
ghost.can_reenter_corpse = can_reenter_corpse
|
ghost.can_reenter_corpse = can_reenter_corpse
|
||||||
ghost.timeofdeath = src.timeofdeath //BS12 EDIT
|
ghost.timeofdeath = src.timeofdeath //BS12 EDIT
|
||||||
ghost.key = key
|
ghost.key = key
|
||||||
if(!ghost.client.holder && !config.antag_hud_allowed) // For new ghosts we remove the verb from even showing up if it's not allowed.
|
if(ghost.client && !ghost.client.holder && !config.antag_hud_allowed) // For new ghosts we remove the verb from even showing up if it's not allowed.
|
||||||
ghost.verbs -= /mob/dead/observer/verb/toggle_antagHUD // Poor guys, don't know what they are missing!
|
ghost.verbs -= /mob/dead/observer/verb/toggle_antagHUD // Poor guys, don't know what they are missing!
|
||||||
return ghost
|
return ghost
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user