switch (part)

ty fox
This commit is contained in:
tristan1333
2016-08-11 11:19:11 +10:00
committed by GitHub
parent deed273dba
commit e7c655df3a
+1 -1
View File
@@ -71,7 +71,7 @@
/obj/spacepod/proc/apply_paint(mob/user as mob)
var/part_type
var/part = input(user, "Choose part", null) as null|anything in list("Lights","Rim","Paint","Windows")
switch (part)
switch(part)
if("Lights")
part_type = LIGHT
if("Rim")