mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-14 14:24:37 +01:00
Reset leader index when changing to an extra lineup
This commit is contained in:
@@ -55,6 +55,7 @@ public class LineupManager {
|
|||||||
*/
|
*/
|
||||||
public void setCurrentExtraLineup(int type, boolean sync) {
|
public void setCurrentExtraLineup(int type, boolean sync) {
|
||||||
this.currentExtraLineup = type;
|
this.currentExtraLineup = type;
|
||||||
|
this.currentLeader = 0;
|
||||||
|
|
||||||
if (sync) {
|
if (sync) {
|
||||||
// Sync with scene entities
|
// Sync with scene entities
|
||||||
|
|||||||
Reference in New Issue
Block a user