Skip to content

Commit

Permalink
Disable tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimach committed Aug 17, 2023
1 parent f9b57a3 commit ad15d1b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions code/_onclick/item_attack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@

var/afterattack_result = afterattack(target, user, TRUE, params)

if (!(afterattack_result & AFTERATTACK_PROCESSED_ITEM) && isitem(target))
if (isnull(user.get_inactive_held_item()))
SStutorials.suggest_tutorial(user, /datum/tutorial/switch_hands, params2list(params))
else
SStutorials.suggest_tutorial(user, /datum/tutorial/drop, params2list(params))

return afterattack_result & TRUE //this is really stupid but its needed because afterattack can return TRUE | FLAGS.

/// Called when the item is in the active hand, and clicked; alternately, there is an 'activate held object' verb or you can hit pagedown.
Expand Down

0 comments on commit ad15d1b

Please sign in to comment.