mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
[FIX] arm delimbing no longer prevents you from using your good arm (#97001)
## About The Pull Request Change in https://github.com/tgstation/tgstation/pull/96637 made it so if you loose one arm and you have the wrong one selected, you can no longer switch to your good remaining arm. This change fixes that and tracks the actual number of serviceable hands in your mob currently. ## Why It's Good For The Game Bugfix ## Changelog 🆑 fix: People with missing limb can again use the remaining good one. /🆑 Co-authored-by: pepe <john@john.com>
This commit is contained in:
@@ -2581,7 +2581,7 @@ GLOBAL_LIST_EMPTY(fire_appearances)
|
||||
|
||||
/mob/living/perform_hand_swap(held_index)
|
||||
//safeguard for one-handed mobs lol
|
||||
if(num_hands == 1)
|
||||
if(length(held_items) == 1)
|
||||
held_index = 1
|
||||
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user