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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user