|
|
|
@ -643,7 +643,7 @@ func recoverSave(redisClient *redis.Client, username string) {
|
|
|
|
|
|
|
|
|
|
fmt.Printf(" %s\n", config.NethackLauncher.ServerDisplay) |
|
|
|
|
println("") |
|
|
|
|
println(" Recover utilty.") |
|
|
|
|
println(" Recover utility.") |
|
|
|
|
println("") |
|
|
|
|
// check if dir is empty
|
|
|
|
|
isEmpty, _ := checkDir(fmt.Sprintf("%s/user/%s/save/", config.NethackLauncher.HackDir, username)) |
|
|
|
@ -654,7 +654,7 @@ func recoverSave(redisClient *redis.Client, username string) {
|
|
|
|
|
println("") |
|
|
|
|
fmt.Printf(">> ") |
|
|
|
|
} else { |
|
|
|
|
println(" Attempt to recovery statefile? (y/n)") |
|
|
|
|
println(" Attempt to recover statefile? (y/n)") |
|
|
|
|
println("") |
|
|
|
|
fmt.Printf(">> ") |
|
|
|
|
} |
|
|
|
|