Fixes #7162. Eject ID verb for laptops is still busted though.

This commit is contained in:
Zuhayr
2014-12-08 04:22:56 +10:30
parent a7d526f8b1
commit 7ff46d64fb
4 changed files with 14 additions and 11 deletions

View File

@@ -192,9 +192,12 @@
if(reader)
reader.loc = loc
if(istype(L) && !L.get_active_hand())
L.put_in_hands(reader)
if(istype(L,/mob/living/carbon/human))
L.put_in_hands(reader)
else
reader.loc = get_turf(computer)
else
reader.loc = computer.loc
reader.loc = get_turf(computer)
reader = null
return 1
return 0
@@ -203,16 +206,16 @@
if(writer && dualslot)
writer.loc = loc
if(istype(L) && !L.get_active_hand())
L.put_in_hands(writer)
if(istype(L,/mob/living/carbon/human))
L.put_in_hands(writer)
else
writer.loc = get_turf(computer)
else
writer.loc = computer.loc
writer.loc = get_turf(computer)
writer = null
return 1
return 0
// Authorizes the user based on the computer's requirements
proc/authenticate()
return computer.check_access(reader)