Fixes a runtime in ghost update_icon

Please make sure that no overrides have arguments when you add a new argument to a method.
This commit is contained in:
Putnam3145
2021-09-03 01:21:21 -07:00
parent 99dd57ed29
commit 2692f6285f
+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