mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-28 20:40:06 +00:00
Fix the main save file path
Broken file check by just room name without the .dat extension always fails.
This commit is contained in:
parent
a7d8e53dac
commit
3e2a650b14
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ func (r *Room) isRoomExisted() bool {
|
|||
if err == nil {
|
||||
return true
|
||||
}
|
||||
return isGameOnLocal(r.ID)
|
||||
return isGameOnLocal(r.director.GetHashPath())
|
||||
}
|
||||
|
||||
// SaveGame will save game to local and trigger a callback to store game on onlineStorage, so the game can be accessed later
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue