mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
check for open panel in update_icon
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user