mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-01-23 10:35:44 +00:00
Disable save/load for libCo until it's fixed
This commit is contained in:
parent
e3b2175420
commit
14b589477f
1 changed files with 8 additions and 0 deletions
|
|
@ -214,6 +214,10 @@ func (na *naEmulator) Start() {
|
|||
}
|
||||
|
||||
func (na *naEmulator) SaveGame() error {
|
||||
// !to fix
|
||||
if usesLibCo {
|
||||
return nil
|
||||
}
|
||||
if na.roomID != "" {
|
||||
return na.Save()
|
||||
}
|
||||
|
|
@ -221,6 +225,10 @@ func (na *naEmulator) SaveGame() error {
|
|||
}
|
||||
|
||||
func (na *naEmulator) LoadGame() error {
|
||||
// !to fix
|
||||
if usesLibCo {
|
||||
return nil
|
||||
}
|
||||
if na.roomID != "" {
|
||||
err := na.Load()
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue