Merge pull request #7264 from Zuhayr/master

Fixes, death refactor.
This commit is contained in:
Ccomp5950
2014-12-07 19:38:21 -05:00
38 changed files with 210 additions and 489 deletions
+10 -7
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)