mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
[MIRROR] robot rejuvenate properly updates the icon again (#9883)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
dd41659cae
commit
61d91af2bd
@@ -377,7 +377,7 @@
|
|||||||
|
|
||||||
var/pickablecards = list()
|
var/pickablecards = list()
|
||||||
for(var/datum/playingcard/P in cards)
|
for(var/datum/playingcard/P in cards)
|
||||||
pickablecards[P.name] += P
|
pickablecards[P.name] = P
|
||||||
var/pickedcard = tgui_input_list(usr, "Which card do you want to remove from the hand?", "Card Selection", pickablecards)
|
var/pickedcard = tgui_input_list(usr, "Which card do you want to remove from the hand?", "Card Selection", pickablecards)
|
||||||
|
|
||||||
if(!pickedcard || !pickablecards[pickedcard] || !usr || !src) return
|
if(!pickedcard || !pickablecards[pickedcard] || !usr || !src) return
|
||||||
|
|||||||
@@ -246,6 +246,7 @@
|
|||||||
C.install()
|
C.install()
|
||||||
cell.charge = cell.maxcharge
|
cell.charge = cell.maxcharge
|
||||||
..()
|
..()
|
||||||
|
update_icon()
|
||||||
|
|
||||||
/mob/living/silicon/robot/proc/init()
|
/mob/living/silicon/robot/proc/init()
|
||||||
aiCamera = new/obj/item/camera/siliconcam/robot_camera(src)
|
aiCamera = new/obj/item/camera/siliconcam/robot_camera(src)
|
||||||
|
|||||||
Reference in New Issue
Block a user