diff --git a/code/modules/modular_computers/file_system/computer_file.dm b/code/modules/modular_computers/file_system/computer_file.dm index 8adb5f98770..5baf7a73a40 100644 --- a/code/modules/modular_computers/file_system/computer_file.dm +++ b/code/modules/modular_computers/file_system/computer_file.dm @@ -45,7 +45,7 @@ var/global/file_uid = 0 return TRUE else if(!input_password) input_password = sanitize(input(user, "Please enter a password to access file '[filename]':")) - if (input_password == password) + if(input_password == password) return TRUE else return FALSE \ No newline at end of file diff --git a/code/modules/modular_computers/file_system/programs/generic/file_browser.dm b/code/modules/modular_computers/file_system/programs/generic/file_browser.dm index 0c99bd0a997..deda1b48e43 100644 --- a/code/modules/modular_computers/file_system/programs/generic/file_browser.dm +++ b/code/modules/modular_computers/file_system/programs/generic/file_browser.dm @@ -86,9 +86,9 @@ if("PRG_openfile") . = 1 var/datum/computer_file/F = HDD.find_file_by_name(href_list["PRG_openfile"]) - if (!F) + if(!F) return - if (F.can_access_file(usr)) + if(F.can_access_file(usr)) open_file = href_list["PRG_openfile"] else return