mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-28 11:03:19 +00:00
Minor refactor to reduce calls to handle_actions().
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
|
||||
//Status updates, death etc.
|
||||
handle_regular_status_updates()
|
||||
handle_actions()
|
||||
update_canmove()
|
||||
update_icons()
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
//Status updates, death etc.
|
||||
handle_regular_status_updates()
|
||||
update_canmove()
|
||||
handle_actions()
|
||||
|
||||
if(client)
|
||||
handle_regular_hud_updates()
|
||||
|
||||
@@ -117,7 +117,6 @@
|
||||
|
||||
//Status updates, death etc.
|
||||
handle_regular_status_updates() //Optimized a bit
|
||||
handle_actions()
|
||||
update_canmove()
|
||||
|
||||
//Update our name based on whether our face is obscured/disfigured
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
handle_environment(environment) // Handle temperature/pressure differences between body and environment
|
||||
|
||||
handle_regular_status_updates() // Status updates, death etc.
|
||||
handle_actions()
|
||||
|
||||
/mob/living/carbon/slime/proc/handle_environment(datum/gas_mixture/environment)
|
||||
if(!environment)
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
/mob/living/Life()
|
||||
..()
|
||||
if(stat != DEAD)
|
||||
handle_actions()
|
||||
|
||||
//mob verbs are faster than object verbs. See mob/verb/examine.
|
||||
/mob/living/verb/pulled(atom/movable/AM as mob|obj in oview(1))
|
||||
set name = "Pull"
|
||||
|
||||
Reference in New Issue
Block a user