Minor fix on rollback frame id counting.

This commit is contained in:
genxium
2022-09-21 17:22:34 +08:00
parent 372bfc2b48
commit f3428c88df
5 changed files with 86 additions and 41 deletions

View File

@@ -535,7 +535,7 @@ func (pR *Room) ChooseStage() error {
ErrFatal(err)
rand.Seed(time.Now().Unix())
stageNameList := []string{"pacman" /*, "richsoil"*/}
stageNameList := []string{/*"pacman" ,*/ "richsoil"}
chosenStageIndex := rand.Int() % len(stageNameList) // Hardcoded temporarily. -- YFLu
pR.StageName = stageNameList[chosenStageIndex]