mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 12:24:11 -04:00
Fixed an issue where :setSystem would not acknowledge which system to work on
This commit is contained in:
parent
4e438137a3
commit
a11cb94aaa
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ function Instance:setSystem(system, eventName, callback, enable)
|
||||||
for i = 1, #listeners do
|
for i = 1, #listeners do
|
||||||
local listener = listeners[i]
|
local listener = listeners[i]
|
||||||
|
|
||||||
if listener.callback == callback then
|
if listener.system == system and listener.callback == callback then
|
||||||
listener.enabled = enable
|
listener.enabled = enable
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue