Modular computer fixes and improvements 2 (#20170)

* Fixes runtime with can_run

* tr
This commit is contained in:
Shadowlight213
2016-08-30 01:43:53 -07:00
committed by AnturK
parent c3f5577eb5
commit e625464e09
8 changed files with 87 additions and 46 deletions
@@ -77,7 +77,7 @@
if(!access_to_check) // No required_access, allow it.
return 1
if(computer.emagged && !transfer) //emags can bypass the execution locks but not the download ones.
if(!transfer && computer && computer.emagged) //emags can bypass the execution locks but not the download ones.
return 1
if(IsAdminGhost(user))