mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Fix floor turf broken states (#40389)
some floor tiles had their broken states broken by the list-culling PR a while back. they're fixed now.
This commit is contained in:
committed by
Tad Hardesty
parent
f41af44f05
commit
168410b9f3
@@ -23,7 +23,10 @@
|
||||
|
||||
/turf/open/floor/Initialize(mapload)
|
||||
|
||||
broken_states = typelist("broken_states", broken_states)
|
||||
if (!broken_states)
|
||||
broken_states = typelist("broken_states", list("damaged1", "damaged2", "damaged3", "damaged4", "damaged5"))
|
||||
else
|
||||
broken_states = typelist("broken_states", broken_states)
|
||||
burnt_states = typelist("burnt_states", burnt_states)
|
||||
if(!broken && broken_states && (icon_state in broken_states))
|
||||
broken = TRUE
|
||||
|
||||
Reference in New Issue
Block a user