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:
Emmett Gaines
2019-10-17 18:21:50 -07:00
committed by Rob Bailey
parent 9405c840c6
commit 8982f509b5
31 changed files with 141 additions and 122 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
if(flash)
add_overlay(flashing_overlay)
attached_overlays += flashing_overlay
addtimer(CALLBACK(src, .proc/update_icon), 5)
addtimer(CALLBACK(src, /atom/.proc/update_icon), 5)
if(holder)
holder.update_icon()