mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix pmg level selection not being persistent
This commit is contained in:
parent
efd4f50e4e
commit
6673f7dc5c
1 changed files with 3 additions and 0 deletions
|
|
@ -1327,6 +1327,7 @@ class PlayMissionGui extends GuiImage {
|
||||||
#end
|
#end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var cSS = currentSelectionStatic;
|
||||||
setCategoryFunc(currentGame, currentCategoryStatic, currentCategoryStatic == "custom" ? (currentSortType == 1 ? "date" : "alpha") : null, false);
|
setCategoryFunc(currentGame, currentCategoryStatic, currentCategoryStatic == "custom" ? (currentSortType == 1 ? "date" : "alpha") : null, false);
|
||||||
|
|
||||||
#if js
|
#if js
|
||||||
|
|
@ -1345,6 +1346,8 @@ class PlayMissionGui extends GuiImage {
|
||||||
}
|
}
|
||||||
this.addChild(kofi);
|
this.addChild(kofi);
|
||||||
#end
|
#end
|
||||||
|
|
||||||
|
setSelectedFunc(cSS);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override function render(scene2d:Scene, ?parent:h2d.Flow) {
|
public override function render(scene2d:Scene, ?parent:h2d.Flow) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue