mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
Changes all instances of if ( to if(
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user