mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-21 12:26:35 +01:00
modifies the hollow metrics API; that'll probably be implemented soon adds init stages changes SSatoms to not abuse its `initialized` variable closes #6858
21 lines
558 B
Plaintext
21 lines
558 B
Plaintext
/obj/structure/window/Initialize(mapload)
|
|
. = ..()
|
|
if(SSatoms.atom_init_status == ATOM_INIT_IN_NEW_REGULAR)
|
|
for(var/obj/structure/table/T in view(src, 1))
|
|
T.update_connections()
|
|
T.update_icon()
|
|
|
|
/obj/structure/window/Destroy()
|
|
var/oldloc = loc
|
|
. = ..()
|
|
if(atom_flags & ATOM_INITIALIZED)
|
|
for(var/obj/structure/table/T in view(oldloc, 1))
|
|
T.update_connections()
|
|
T.update_icon()
|
|
|
|
/obj/structure/window/Moved(atom/oldloc)
|
|
. = ..()
|
|
for(var/obj/structure/table/T in view(oldloc, 1) | view(loc, 1))
|
|
T.update_connections()
|
|
T.update_icon()
|