2 Commits

Author SHA1 Message Date
Bluewhale1337 4c9f50770a fix: remove redundant end statement in layout refresh function 2026-07-22 11:19:21 +02:00
Bluewhale1337 ed11046eda Cleaning up some leftovers 2026-07-22 09:55:17 +02:00
3 changed files with 0 additions and 24 deletions
-1
View File
@@ -962,7 +962,6 @@ function HealBot_Action_PartyChanged()
if HealBot_Config.HideParty == 1 and HidePartyFrame then
HidePartyFrame();
end
end
HealBot_Action_RefreshButtons();
HealBot_Action_ShowFrame();
end
Binary file not shown.
-23
View File
@@ -1,23 +0,0 @@
import re
with open('HealBot_Action.xml', 'r') as f:
content = f.read()
buttons_42_50 = '\n'.join([f' <Button name=\"HealBot_Action_HealUnit{i}\" inherits=\"HealingButtonTemplate\" text=\"Unit not set\"/>' for i in range(42, 51)])
buttons_61_100 = '\n'.join([f' <Button name=\"HealBot_Action_HealUnit{i}\" inherits=\"HealingButtonTemplate2\" text=\"Unit not set\"/>' for i in range(61, 101)])
content = re.sub(
r'(<Button name=\"HealBot_Action_HealUnit41\" [^\>]+>\n)',
r'\g<1>' + buttons_42_50 + '\n',
content
)
content = re.sub(
r'(<Button name=\"HealBot_Action_HealUnit60\" [^\>]+>\n)',
r'\g<1>' + buttons_61_100 + '\n',
content
)
with open('HealBot_Action.xml', 'w') as f:
f.write(content)
print('Updated HealBot_Action.xml')