mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 04:13:58 -04:00
More fixes
This commit is contained in:
parent
3225f6b221
commit
e88dedabc6
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ function Instance:addSystem(system, eventName, callback, enabled)
|
||||||
enabled = enabled == nil and true or enabled,
|
enabled = enabled == nil and true or enabled,
|
||||||
}
|
}
|
||||||
|
|
||||||
if enabled then
|
if enabled == nil and true or enabled then
|
||||||
system:enabledCallback(callback or eventName)
|
system:enabledCallback(callback or eventName)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue