mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-27 05:01:38 +00:00
fix pmg level selection not being persistent
This commit is contained in:
parent
8ec215acd8
commit
43c136f1e9
1 changed files with 3 additions and 0 deletions
|
|
@ -1326,6 +1326,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);
|
||||||
|
|
||||||
var kofi = new GuiButton(loadButtonImages("data/ui/kofi1"));
|
var kofi = new GuiButton(loadButtonImages("data/ui/kofi1"));
|
||||||
|
|
@ -1342,6 +1343,8 @@ class PlayMissionGui extends GuiImage {
|
||||||
#end
|
#end
|
||||||
}
|
}
|
||||||
this.addChild(kofi);
|
this.addChild(kofi);
|
||||||
|
|
||||||
|
setSelectedFunc(cSS);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override function render(scene2d:Scene) {
|
public override function render(scene2d:Scene) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue