From 3bb88b327cffae2800a845cbe4aa9264e18735d3 Mon Sep 17 00:00:00 2001 From: Atlantis Date: Wed, 29 Jul 2015 23:16:27 +0200 Subject: [PATCH] Fixes #10353 - Fixes icons not updating properly - Also fixes a runtime. --- code/game/objects/items/robot/robot_upgrades.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/robot/robot_upgrades.dm b/code/game/objects/items/robot/robot_upgrades.dm index 3f11eb4bbe..678a8b178a 100644 --- a/code/game/objects/items/robot/robot_upgrades.dm +++ b/code/game/objects/items/robot/robot_upgrades.dm @@ -30,14 +30,14 @@ R.uneq_all() R.hands.icon_state = "nomod" R.icon_state = "robot" + R.icontype = "Basic" //world << R.custom_sprite if(R.custom_sprite == 1) //world << R.icon_state icon = 'icons/mob/custom-synthetic.dmi' R.icon_state = "[R.ckey]-Standard" - del(R.module) R.notify_ai(ROBOT_NOTIFICATION_MODULE_RESET, R.module.name) - R.module = null + del(R.module) R.camera.remove_networks(list("Engineering","Medical","MINE")) R.updatename("Default") R.status_flags |= CANPUSH