reeeee rust_g

This commit is contained in:
Poojawa
2018-09-29 22:50:00 -05:00
parent c6c3b16ca0
commit 2417cd78fb
@@ -139,14 +139,14 @@ GLOBAL_LIST_EMPTY(vore_preferences_datums)
return 0
//Write it out
#ifdef RUST_G
call(RUST_G, "file_write")(json_to_file, path)
#else
//#ifdef RUST_G
// call(RUST_G, "file_write")(json_to_file, path)
//#else
// Fall back to using old format if we are not using rust-g
if(fexists(path))
fdel(path) //Byond only supports APPENDING to files, not replacing.
text2file(json_to_file, path)
#endif
//#endif
if(!fexists(path))
testing("Saving: [path] failed file write")
return 0