mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Refactors screen object update_icon to call parent (#47094)
* Refactors screen object update_icon to call parent And makes update_icon an /atom proc * Cleans up some missed null checks The student teaches the master
This commit is contained in:
committed by
Rob Bailey
parent
9405c840c6
commit
8982f509b5
@@ -112,11 +112,10 @@
|
||||
|
||||
/turf/open/floor/holofloor/carpet/Initialize()
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, .proc/update_icon), 1)
|
||||
addtimer(CALLBACK(src, /atom/.proc/update_icon), 1)
|
||||
|
||||
/turf/open/floor/holofloor/carpet/update_icon()
|
||||
if(!..())
|
||||
return 0
|
||||
. = ..()
|
||||
if(intact)
|
||||
queue_smooth(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user