previous could break

This commit is contained in:
SandPoot
2023-01-09 08:05:48 -03:00
parent c94aa43432
commit f066a260f2
+3 -2
View File
@@ -203,10 +203,11 @@
. = ..()
if(.)
switch(current_skin)
if("Sword")
icon_state = "sword[active ? sword_color : "0"]"
if("Saber")
icon_state = "esaber[active ? sword_color : "0"]"
// No skin
else
icon_state = "sword[active ? sword_color : "0"]"
/obj/item/melee/transforming/energy/sword/saber/reskin_obj(mob/M)
. = ..()