fixes animations and updater

This commit is contained in:
rockyhawk64 2025-08-04 18:16:17 +10:00
parent 9436c93ef0
commit 1f98a868ca

View File

@ -26,8 +26,11 @@ public class PanelSession {
}
public void setPanel(Panel panel) {
// First panel since session start
if(this.panel == null) return;
// First panel since session start, update and return
if(this.panel == null) {
this.panel = panel;
return;
}
// Update previous panel if new panel is different
if(!panel.getName().equals(this.panel.getName()))
this.previous = this.panel;