mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-07-27 09:44:44 +00:00
Further modularization of HealBot codebase by splitting core logic into dedicated controller and view components
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ function HealBot_Model:NotifyObservers(event, unitID, ...)
|
||||
if self.observers[event] then
|
||||
local len = table.getn(self.observers[event])
|
||||
for i = 1, len do
|
||||
self.observers[event][i](unitID, unpack(arg))
|
||||
self.observers[event][i](unitID, ...)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user