You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
localtoastIndex=findToastIndex("^Building Power Report")
319
+
ifself.powerBuilderToastActiveandtoastIndexthen
320
+
-- Remove the toast from the queue instead of triggering hide animation
321
+
-- This prevents issues when the toast is not currently displayed (queued behind another toast)
322
+
-- TODO: look into allowing toast notifications to stack and have UUID's we can control them better
323
+
iftoastIndex==1then
324
+
main.toastMode="HIDING"
325
+
main.toastStart=GetTime()
326
+
else
327
+
t_remove(main.toastMessages, toastIndex)
328
+
end
329
+
end
330
+
self.powerBuilderToastActive=false
285
331
end
286
332
287
333
self.controls.specConvertText=new("LabelControl", { "BOTTOMLEFT", self.controls.specSelect, "TOPLEFT" }, { 0, -14, 0, 16 }, "^7This is an older tree version, which may not be fully compatible with the current game version.")
0 commit comments