From 03eab92a425bed48027a925db1219541847d5390 Mon Sep 17 00:00:00 2001 From: fesily Date: Fri, 13 Dec 2024 10:53:10 +0800 Subject: [PATCH] only client write luajit_config.json --- Mod/modmain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mod/modmain.lua b/Mod/modmain.lua index a0bd2a8..5f52c57 100644 --- a/Mod/modmain.lua +++ b/Mod/modmain.lua @@ -1,6 +1,6 @@ _G = GLOBAL -do +if not _G.TheNet:IsDedicated() then local fp = _G.io.open("luajit_config.json", "w"); if fp then local config = {