fixes computers eating cards

this commit : 
ea1060ac33

added in machinery's attack_hand() proc, line 238
```
if(!allowed(user))
		user << "\red Access Denied."
		return 1
```

to almost all machinery including computers, since they call this proc via their attack_hand() procs.

allowed(user), see access.dm line 94, in turn only checks the user's hand and wear_id,
NOT the card inside the machine,
as different machines have different vars and systems handling how they can be accessed.

instead of fixing the underlying problem, eject card verbs were added like this one : 
30385c2237

this PR reverts that nonsense machinery addition and adds the shuttle_control access check where it belongs.
This commit is contained in:
Walter0o
2014-07-04 21:36:23 +02:00
parent 53de412107
commit 65b5126147

View File

@@ -235,10 +235,6 @@ Class Procs:
src.add_fingerprint(user)
if(!allowed(user))
user << "\red Access Denied."
return 1
var/area/A = get_area(src)
A.master.powerupdate = 1
@@ -286,4 +282,4 @@ Class Procs:
I.crit_fail = 1
I.loc = loc
del(src)
return 1
return 1