Clicking an open locker on combat mode will no longer deposit your item (#63951)

* fix

* fix

* FIX
This commit is contained in:
Seth Scherer
2022-01-10 14:26:14 -05:00
committed by GitHub
parent 82c65e23a2
commit 1ea237c9aa
@@ -390,6 +390,8 @@
span_notice("You cut \the [src] apart with \the [W]."))
deconstruct(TRUE)
return
if (user.combat_mode)
return FALSE
if(user.transferItemToLoc(W, drop_location())) // so we put in unlit welder too
return
else if(W.tool_behaviour == TOOL_WELDER && can_weld_shut)