From e743b55220b66c83ba24d92c7ec7bbfeaf2c67a8 Mon Sep 17 00:00:00 2001 From: "sieve32@gmail.com" Date: Sat, 4 Aug 2012 01:06:55 +0000 Subject: [PATCH] Carn told me a better way to go about the icons updates, so I did. Quick fix. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4311 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/gamemodes/nuclear/nuclear.dm | 2 +- code/game/gamemodes/revolution/revolution.dm | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/code/game/gamemodes/nuclear/nuclear.dm b/code/game/gamemodes/nuclear/nuclear.dm index 2ccaca0047..e7021e7811 100644 --- a/code/game/gamemodes/nuclear/nuclear.dm +++ b/code/game/gamemodes/nuclear/nuclear.dm @@ -186,7 +186,7 @@ var/mob/living/carbon/human/H = synd_mind.current P.loc = H.loc H.equip_if_possible(P, H.slot_r_store, 0) - H.update_inv_pockets() + H.update_icons() else nuke_code = "code will be provided later" diff --git a/code/game/gamemodes/revolution/revolution.dm b/code/game/gamemodes/revolution/revolution.dm index 3d84cdcfe2..527bf96da1 100644 --- a/code/game/gamemodes/revolution/revolution.dm +++ b/code/game/gamemodes/revolution/revolution.dm @@ -148,15 +148,7 @@ mob << "The Syndicate were unfortunately unable to get you a flash." else mob << "The flash in your [where] will help you to persuade the crew to join your cause." - switch(where) - if("left pocket") - mob.update_inv_pockets() - if("right pocket") - mob.update_inv_pockets() - if("left_hand") - mob.update_inv_l_hand() - if("right_hand") - mob.update_inv_r_hand() + mob.update_icons() return 1 //////////////////////////////////////