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")
307
+
ifself.powerBuilderToastActiveandtoastIndexthen
308
+
-- Remove the toast from the queue instead of triggering hide animation
309
+
-- This prevents issues when the toast is not currently displayed (queued behind another toast)
310
+
-- TODO: look into allowing toast notifications to stack and have UUID's we can control them better
311
+
iftoastIndex==1then
312
+
main.toastMode="HIDING"
313
+
main.toastStart=GetTime()
314
+
else
315
+
t_remove(main.toastMessages, toastIndex)
316
+
end
317
+
end
318
+
self.powerBuilderToastActive=false
273
319
end
274
320
275
321
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