From c5eaf6f961daa655293957413f213172dd73619c Mon Sep 17 00:00:00 2001 From: ineed bots Date: Thu, 30 Nov 2023 20:20:58 -0600 Subject: [PATCH] fix comp --- src/component/fileio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/fileio.cpp b/src/component/fileio.cpp index 7a02bd6..e09cf7b 100644 --- a/src/component/fileio.cpp +++ b/src/component/fileio.cpp @@ -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", []()