mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
Modular computer fixes and improvements 2 (#20170)
* Fixes runtime with can_run * tr
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -170,7 +170,7 @@ var/global/nttransfer_uid = 0
|
||||
data["uploading"] = 1
|
||||
data["upload_uid"] = unique_token
|
||||
data["upload_clients"] = connected_clients.len
|
||||
data["haspassword"] = server_password ? 1 : 0
|
||||
data["upload_haspassword"] = server_password ? 1 : 0
|
||||
data["upload_filename"] = "[provided_file.filename].[provided_file.filetype]"
|
||||
else if (upload_menu)
|
||||
var/list/all_files[0]
|
||||
|
||||
Reference in New Issue
Block a user