Stop the attack chain after the tank is inserted (#28187)

This commit is contained in:
Migratingcocofruit
2025-01-31 17:50:54 +02:00
committed by GitHub
parent 6ef209d931
commit fddf6be647
@@ -77,6 +77,7 @@
loaded_tank = used
used.forceMove(src)
update_icons()
return ITEM_INTERACT_COMPLETE
else if(used.tool_behaviour == TOOL_CROWBAR)
if(loaded_tank && !locked)
eject()