This commit is contained in:
Fluffy
2023-08-31 05:37:55 +02:00
committed by GitHub
parent 90d26e3761
commit 5eaac605f2
5 changed files with 45 additions and 4 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ var/datum/controller/subsystem/cargo/SScargo
/datum/controller/subsystem/cargo/proc/load_from_json()
var/list/cargoconfig = list()
if(!isfile("config/cargo.json"))
if(!(rustg_file_exists("config/cargo.json") == "true"))
log_config("The file config/cargo.json was not found, cargo items will not be loaded.")
return
+1 -1
View File
@@ -130,7 +130,7 @@ var/datum/controller/subsystem/chemistry/SSchemistry
. = 0
var/list/chemconfig = list()
if(!isfile("config/secretchem.json"))
if(!(rustg_file_exists("config/secretchem.json") == "true"))
log_config("The file config/secretchem.json was not found, secret chemicals will not be loaded.")
return