[MIRROR] Makes the omnitool lathe proof (#28644)

* Makes the omnitool lathe proof (#84643)

## About The Pull Request
- Fixes #84600

As mentioned in
https://github.com/tgstation/tgstation/issues/84600#issuecomment-2204975628
there is no problem with omnitool & airlock interactions, but just with
the lathe consuming the omnitool.

## Changelog
🆑
fix: Autolathe won't eat the borg omni tool
/🆑

* Makes the omnitool lathe proof

---------

Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-07-06 09:36:46 +05:30
committed by GitHub
co-authored by SyncIt21
parent 90e9b14368
commit ba4138ff2c
@@ -274,7 +274,9 @@
//All messages to be displayed to chat
var/list/chat_msgs = list()
//differs from held_item when using TK
var/active_held = user.get_active_held_item()
var/obj/item/active_held = user.get_active_held_item()
//omni tools can act as any tool so get its real behaviour
active_held = active_held.get_proxy_attacker_for(held_item)
while(items.len)
//no point inserting more items