mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 19:14:15 +01:00
[MIRROR] Digitigrade Paralysis BugFix (#6411)
* Digitigrade Paralysis BugFix (#59697) * Fixing Digitigrade Legs, Adding Sanity Checks - A limb's attach_limb proc now uses the set_owner() proc instead of setting the owner manually, fixing problems where limbs that were meant to be paralyzed were not - Added a sanity check to set_usable_legs to ensure the value isn't set lower than 0 * Adds A Stack Trace to Set_Usable_Legs - set_usable_legs now calls stack_trace() whenever it is provided with a negative value * Digitigrade Paralysis BugFix Co-authored-by: Beatrice <83368538+SpaceDragon00@users.noreply.github.com>
This commit is contained in:
@@ -322,7 +322,7 @@
|
||||
return FALSE
|
||||
. = TRUE
|
||||
moveToNullspace()
|
||||
owner = new_limb_owner
|
||||
set_owner(new_limb_owner)
|
||||
new_limb_owner.add_bodypart(src)
|
||||
if(held_index)
|
||||
if(held_index > new_limb_owner.hand_bodyparts.len)
|
||||
|
||||
Reference in New Issue
Block a user