mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Corrected a bug where cyborgs selecting "Standard" for their icon would choose an icon_state that didn't exist and become invisible, except for a pair of glowing red eyes.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@47 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
if("Standard")
|
||||
src.module = new /obj/item/weapon/robot_module/standard(src)
|
||||
src.hands.icon_state = "standard"
|
||||
// src.icon_state = "robot"
|
||||
src.icon_state = "robot"
|
||||
src.modtype = "Stand"
|
||||
/*
|
||||
if("Medical")
|
||||
@@ -52,7 +52,7 @@
|
||||
if(icontype == "Armored")
|
||||
src.icon_state = "Security"
|
||||
else
|
||||
src.icon_state = "standard"
|
||||
src.icon_state = "robot"
|
||||
src.modtype = "Sec"
|
||||
|
||||
if("Engineering")
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
var/icontype = input("Select an icon!", "Robot", null, null) in list("Standard", "Engineer", "Engiseer")
|
||||
if(icontype == "Standard")
|
||||
src.icon_state = "standard"
|
||||
src.icon_state = "robot"
|
||||
else if(icontype == "Engineer")
|
||||
src.icon_state = "Engineering"
|
||||
else
|
||||
@@ -81,7 +81,7 @@
|
||||
if(icontype == "Bro")
|
||||
src.icon_state = "Brobot"
|
||||
else
|
||||
src.icon_state = "standard"
|
||||
src.icon_state = "robot"
|
||||
src.modtype = "Bro"
|
||||
src.overlays -= "eyes" //Takes off the eyes that it started with
|
||||
updateicon()
|
||||
|
||||
Reference in New Issue
Block a user