Add new line decals. (#29907)

* Add new line decals.

* undefs

* remove redundant alpha

* fix lint
This commit is contained in:
warriorstar-orion
2025-08-06 06:01:09 +00:00
committed by GitHub
parent d39c12ce5c
commit b5ac86c818
10 changed files with 413 additions and 157 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ GLOBAL_LIST_EMPTY(asset_datums)
/datum/asset/spritesheet/proc/Insert(sprite_name, icon/I, icon_state="", dir=SOUTH, frame=1, moving=FALSE)
I = icon(I, icon_state=icon_state, dir=dir, frame=frame, moving=moving)
if(!I || !length(icon_states(I))) // that direction or state doesn't exist
if(!I || length(icon_states(I)) != 1) // that direction or state doesn't exist
return
// any sprite modifications we want to do (aka, coloring a greyscaled asset)
I = ModifyInserted(I)