mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
The final action buttons PR (#16514)
* Make action button target datum * Initial working action palette * Action related refactors * tgstation/tgstation/pull/71339
This commit is contained in:
@@ -455,7 +455,7 @@
|
||||
throw_alert("handcuffed", /obj/screen/alert/restrained/handcuffed, new_master = handcuffed)
|
||||
else
|
||||
clear_alert("handcuffed")
|
||||
update_action_buttons_icon() //some of our action buttons might be unusable when we're handcuffed.
|
||||
update_mob_action_buttons() //some of our action buttons might be unusable when we're handcuffed.
|
||||
update_inv_handcuffed()
|
||||
|
||||
// Clears blood overlays
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/mob/living/death(gibbed)
|
||||
clear_fullscreens()
|
||||
update_action_buttons_icon()
|
||||
update_mob_action_buttons()
|
||||
if(ai_holder)
|
||||
ai_holder.go_sleep()
|
||||
|
||||
|
||||
@@ -973,7 +973,7 @@
|
||||
if(lying != lying_prev)
|
||||
lying_prev = lying
|
||||
update_transform()
|
||||
update_action_buttons_icon(status_only = TRUE)
|
||||
update_mob_action_buttons()
|
||||
//VOREStation Add
|
||||
if(lying && LAZYLEN(buckled_mobs))
|
||||
for(var/mob/living/L as anything in buckled_mobs)
|
||||
|
||||
@@ -32,8 +32,9 @@
|
||||
|
||||
client.images = null //remove the images such as AIs being unable to see runes
|
||||
client.screen = list() //remove hud items just in case
|
||||
if(hud_used) qdel(hud_used) //remove the hud objects
|
||||
hud_used = new /datum/hud(src)
|
||||
if(hud_used)
|
||||
qdel(hud_used) //remove the hud objects
|
||||
new /datum/hud(src)
|
||||
|
||||
if(client.prefs && client.prefs.client_fps)
|
||||
client.fps = client.prefs.client_fps
|
||||
|
||||
Reference in New Issue
Block a user