mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
shadeparallax& gui fixes (#29714)
This commit is contained in:
@@ -197,7 +197,8 @@ var/global/obj/abstract/screen/clicker/catcher = new()
|
||||
return FALSE
|
||||
if(!mymob.client)
|
||||
return FALSE
|
||||
|
||||
if(!mymob.gui_icons)
|
||||
mymob.gui_icons = new /datum/ui_icons(src)
|
||||
|
||||
var/ui_style
|
||||
var/ui_color
|
||||
@@ -237,6 +238,8 @@ var/global/obj/abstract/screen/clicker/catcher = new()
|
||||
borer_hud()
|
||||
else if(isconstruct(mymob))
|
||||
construct_hud()
|
||||
else if(isshade(mymob))
|
||||
shade_hud()
|
||||
else if(isspider(mymob))
|
||||
spider_hud()
|
||||
else if(ispAI(mymob))
|
||||
@@ -248,6 +251,10 @@ var/global/obj/abstract/screen/clicker/catcher = new()
|
||||
else if(isgrinch(mymob))
|
||||
grinch_hud()
|
||||
|
||||
var/datum/role/cultist/C = iscultist(mymob)
|
||||
if (C)
|
||||
C.update_cult_hud()
|
||||
|
||||
if(isliving(mymob))
|
||||
var/obj/abstract/screen/using
|
||||
using = new /obj/abstract/screen
|
||||
|
||||
@@ -214,7 +214,7 @@
|
||||
cult_tattoo_display.screen_loc = ui_cult_tattoos
|
||||
//pulse_atom(cult_tattoo_display)
|
||||
|
||||
if (mymob.client)
|
||||
if (mymob?.client)
|
||||
mymob.client.screen += list(cult_Act_display,cult_tattoo_display)
|
||||
|
||||
/datum/hud/proc/pulse_atom(var/obj/abstract/screen/A)
|
||||
|
||||
Reference in New Issue
Block a user