mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
[MIRROR] Fixes being able to shove while in the process of standing up (#1259)
* Fixes being able to shove while standing up (#54296) * Fixes being able to shove while in the process of standing up Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
@@ -1403,16 +1403,16 @@ GLOBAL_LIST_EMPTY(roundstart_races)
|
||||
"<span class='danger'>You block [user]'s shove!</span>", "<span class='hear'>You hear a swoosh!</span>", COMBAT_MESSAGE_RANGE, user)
|
||||
to_chat(user, "<span class='warning'>Your shove at [target] was blocked!</span>")
|
||||
return FALSE
|
||||
if(attacker_style && attacker_style.disarm_act(user,target))
|
||||
if(attacker_style?.disarm_act(user,target))
|
||||
return TRUE
|
||||
if(user.resting || user.IsKnockdown())
|
||||
if(user.body_position != STANDING_UP)
|
||||
return FALSE
|
||||
if(user == target)
|
||||
return FALSE
|
||||
if(user.loc == target.loc)
|
||||
return FALSE
|
||||
else
|
||||
user.disarm(target)
|
||||
user.disarm(target)
|
||||
|
||||
|
||||
/datum/species/proc/spec_hitby(atom/movable/AM, mob/living/carbon/human/H)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user