|
@@ -138,6 +138,8 @@ public class BattleController : MonoBehaviour
|
|
SoundManager.GetInstatnce().bgSound.Play(SoundManager.GetInstatnce().bgSound.game);
|
|
SoundManager.GetInstatnce().bgSound.Play(SoundManager.GetInstatnce().bgSound.game);
|
|
Ready ();
|
|
Ready ();
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ lastSyncTime = GameTime.time;
|
|
}
|
|
}
|
|
|
|
|
|
void Start()
|
|
void Start()
|
|
@@ -605,7 +607,7 @@ public class BattleController : MonoBehaviour
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- private float lastSyncTime = GameTime.time;
|
|
|
|
|
|
+ private float lastSyncTime;
|
|
private void CheckSimpleSync()
|
|
private void CheckSimpleSync()
|
|
{
|
|
{
|
|
if (battleType != BattleType.Battle)
|
|
if (battleType != BattleType.Battle)
|