mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
More window melding
Tinted and reinforced windows now too Also fixed windows not melding if they were not built, but mapped.
This commit is contained in:
@@ -293,6 +293,10 @@
|
||||
icon_state = "twindow"
|
||||
|
||||
update_nearby_tiles(need_rebuild=1)
|
||||
relativewindow()
|
||||
for(var/obj/structure/window/w in range(src,1))
|
||||
if (w.anchored)
|
||||
w.relativewindow()
|
||||
|
||||
return
|
||||
|
||||
@@ -359,7 +363,10 @@
|
||||
if (istype(src,/obj/structure/window/basic))
|
||||
src.icon_state = "window[junction]"
|
||||
else if (istype(src,/obj/structure/window/reinforced))
|
||||
src.icon_state = "rwindow[junction]"
|
||||
if (istype(src,/obj/structure/window/reinforced/tinted))
|
||||
src.icon_state = "twindow[junction]"
|
||||
else
|
||||
src.icon_state = "rwindow[junction]"
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user