This commit is contained in:
ineed bots 2023-11-30 20:20:58 -06:00
parent eec84e91ff
commit c5eaf6f961

View File

@ -234,7 +234,7 @@ namespace fileio
#ifdef DEBUG
printf("gscr_fs_fopen: opening %s, mode %s\n", fpath.c_str(), mode);
#endif
game::Scr_AddInt(i + 1);
game::Scr_AddInt(game::SCRIPTINSTANCE_SERVER, i + 1);
});
gsc::function::add("fs_write", []()