Finish off the old strip menu, add tk checks (#63219)

* Finishes off the old strip menu (also fixes the new one not properly checking against tk)

* I'm having second thoughts. Better safe than sorry.
This commit is contained in:
Ghom
2021-12-06 04:02:34 +02:00
committed by GitHub
parent 49e5cb71c3
commit fea3637316
10 changed files with 6 additions and 140 deletions
+1 -1
View File
@@ -496,7 +496,7 @@
return min(
ui_status_only_living(user, owner),
ui_status_user_has_free_hands(user, owner),
ui_status_user_is_adjacent(user, owner),
ui_status_user_is_adjacent(user, owner, allow_tk = FALSE),
HAS_TRAIT(user, TRAIT_CAN_STRIP) ? UI_INTERACTIVE : UI_UPDATE,
max(
ui_status_user_is_conscious_and_lying_down(user),