We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf45887 commit 2a4eb0eCopy full SHA for 2a4eb0e
control.lua
@@ -16,7 +16,7 @@ modules.data_consistency_example = require("models/data-consistency-example")
16
17
-- Safe disabling of this mod remotely on init stage
18
-- Useful for other map developers and in some rare cases for mod devs
19
-if remote.interfaces["disable-" .. script.level.mod_name] then
+if remote.interfaces["disable-" .. script.level.mod_name or ""] then
20
for _, module in pairs(modules) do
21
local update_global_data_on_disabling = module.update_global_data_on_disabling
22
module.events = nil
0 commit comments