Adding ModOptions

This commit is contained in:
Pao
2023-01-14 01:55:57 +01:00
parent d9fcee526c
commit 53e8d7456d
3 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
local options = TOC_Options
-- Check actual options at game loading.
Events.OnGameStart.Add(function()
if not isClient() then -- only host may take these options
print("checkbox1 = ", options.box1)
print("checkbox2 = ", options.box2)
end
end)