mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 17:45:02 +01:00
Dont show swap hand tutorial if you only have 1 hand (#95716)
## About The Pull Request Dont show swap hand tutorial if you only have 1 hand as you cannot complete it. ## Why It's Good For The Game Someone on a downstream had an issue where it kept showing them the tutorial but they could not complete it as they play a character with only 1 arm. Could prob extend this to a disabled limb as well.. dunno. ## Changelog 🆑 fix: The swap hand tutorial wont be shown to someone missing a hand /🆑
This commit is contained in:
@@ -78,7 +78,8 @@
|
||||
// This can mean nothing happened, this can mean the target took damage, etc.
|
||||
|
||||
if(user.client && isitem(target))
|
||||
if(isnull(user.get_inactive_held_item()))
|
||||
var/mob/living/living_user = astype(user)
|
||||
if(isnull(user.get_inactive_held_item() && living_user?.num_hands > 1))
|
||||
SStutorials.suggest_tutorial(user, /datum/tutorial/switch_hands, modifiers)
|
||||
else
|
||||
SStutorials.suggest_tutorial(user, /datum/tutorial/drop, modifiers)
|
||||
|
||||
Reference in New Issue
Block a user