diff --git a/pkg/worker/room/room.go b/pkg/worker/room/room.go index c5f48bc6..779b06b3 100644 --- a/pkg/worker/room/room.go +++ b/pkg/worker/room/room.go @@ -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