mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 10:02:28 +00:00
Fix for the alt-clicking related bugs; users being able to alt-click and have it work regardless of distance.
This commit is contained in:
@@ -483,12 +483,15 @@ log transactions
|
||||
|
||||
// put the currently held id on the ground or in the hand of the user
|
||||
/obj/machinery/atm/proc/release_held_id(mob/living/carbon/human/human_user as mob)
|
||||
|
||||
if (!ishuman(human_user))
|
||||
return
|
||||
|
||||
if(!held_card)
|
||||
return
|
||||
|
||||
if(human_user.stat || human_user.lying || human_user.restrained() || !Adjacent(human_user)) return
|
||||
|
||||
held_card.loc = src.loc
|
||||
authenticated_account = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user