From cebd075aa8c81118683191dc26eaea6ad32f4b49 Mon Sep 17 00:00:00 2001 From: lass9030 Date: Fri, 9 Nov 2018 14:05:11 +0100 Subject: [PATCH] check for open panel in update_icon --- code/game/machinery/hologram.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/hologram.dm b/code/game/machinery/hologram.dm index 4af2bc60f66..20132f614af 100644 --- a/code/game/machinery/hologram.dm +++ b/code/game/machinery/hologram.dm @@ -403,7 +403,9 @@ For the other part of the code, check silicon say.dm. Particularly robot talk.*/ /obj/machinery/hologram/holopad/update_icon() var/total_users = LAZYLEN(masters) + LAZYLEN(holo_calls) - if(ringing) + if(icon_state == "holopad_open") + return + else if(ringing) icon_state = "holopad_ringing" else if(total_users) icon_state = "holopad1"