Further modularization of HealBot codebase by splitting core logic into dedicated controller and view components

This commit is contained in:
Bluewhale1337
2026-06-25 19:33:48 +02:00
parent 786e5d66df
commit 3ae3f26f77
12 changed files with 2429 additions and 2453 deletions
+1 -1
View File
@@ -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