[MIRROR] Clothing fallback (#11470)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-19 21:38:30 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent 6eb4a15df1
commit 4f205c9197
22 changed files with 119 additions and 181 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ two tiles on initialization, and which way a cliff is facing may change during m
var/subtraction_icon_state = "[icon_state]-subtract"
var/cache_string = "[icon_state]_[T.icon]_[T.icon_state]"
if(T && (subtraction_icon_state in cached_icon_states(icon)))
if(T && icon_exists(icon, subtraction_icon_state))
cut_overlays()
// If we've made the same icon before, just recycle it.
if(cache_string in GLOB.cliff_icon_cache)