Merge pull request #15072 from Putnam3145/fix-ghost-runtime

Fixes a runtime in ghost update_icon
This commit is contained in:
silicons
2021-09-03 01:56:31 -07:00
committed by GitHub
+1 -1
View File
@@ -176,7 +176,7 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
* Hair will always update its dir, so if your sprite has no dirs the haircut will go all over the place.
* |- Ricotez
*/
/mob/dead/observer/update_icon(new_form)
/mob/dead/observer/update_icon(updates=ALL, new_form=null)
. = ..()
if(client) //We update our preferences in case they changed right before update_icon was called.
ghost_accs = client.prefs.ghost_accs