mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-01 20:03:55 -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
|
||||
local listener = listeners[i]
|
||||
|
||||
if listener.callback == callback then
|
||||
if listener.system == system and listener.callback == callback then
|
||||
listener.enabled = enable
|
||||
break
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue