From 0d1ee8c64f571f6a81fc0883ae908d69330c920f Mon Sep 17 00:00:00 2001 From: Dedhia Date: Tue, 2 Oct 2018 07:43:38 -0700 Subject: [PATCH] Changes all instances of if ( to if( --- code/modules/modular_computers/file_system/computer_file.dm | 2 +- .../file_system/programs/generic/file_browser.dm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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