ATM and id console will use your inactive hand for giving items (#19164)

This commit is contained in:
Henri215
2022-10-02 22:10:12 -05:00
committed by GitHub
parent e56e10f31b
commit 233657d8be
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -389,7 +389,7 @@ GLOBAL_VAR_INIT(time_last_changed_position, 0)
if(scan)
if(ishuman(usr))
scan.forceMove(get_turf(src))
if(!usr.get_active_hand() && Adjacent(usr))
if(Adjacent(usr))
usr.put_in_hands(scan)
scan = null
playsound(src, 'sound/machines/terminal_insert_disc.ogg', 50, 0)
@@ -415,7 +415,7 @@ GLOBAL_VAR_INIT(time_last_changed_position, 0)
regenerate_id_name()
if(ishuman(usr))
modify.forceMove(get_turf(src))
if(!usr.get_active_hand() && Adjacent(usr))
if(Adjacent(usr))
usr.put_in_hands(modify)
modify = null
playsound(src, 'sound/machines/terminal_insert_disc.ogg', 50, 0)
+1 -1
View File
@@ -306,7 +306,7 @@ log transactions
if(held_card)
held_card.forceMove(loc)
authenticated_account = null
if(ishuman(usr) && !usr.get_active_hand())
if(ishuman(usr))
usr.put_in_hands(held_card)
held_card = null
else