minor bug fix
This commit is contained in:
@@ -29,6 +29,7 @@ public class UmaDatabaseEntry
|
||||
public static void DownloadAsset(UmaDatabaseEntry entry)
|
||||
{
|
||||
var path = $"{Config.Instance.MainPath}\\dat\\{entry.Url.Substring(0, 2)}\\{entry.Url}";
|
||||
Debug.Log("Downloading:" + entry.Name);
|
||||
UmaViewerDownload.DownloadAssetSync(entry, path , delegate(string msg, UIMessageType type)
|
||||
{
|
||||
Instance.ShowMessage(msg, type);
|
||||
|
||||
@@ -512,15 +512,15 @@ namespace Gallop.Live
|
||||
{
|
||||
if (!_soloMode)
|
||||
{
|
||||
if(liveMusic.time > 0)
|
||||
if(liveMusic.time > 0.1)
|
||||
{
|
||||
_liveCurrentTime = liveMusic.time / 1000;
|
||||
_liveCurrentTime = (float)liveMusic.time / 1000;
|
||||
_syncTime = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(liveSong.time > 0)
|
||||
if(liveSong.time > 0.1)
|
||||
{
|
||||
_liveCurrentTime = liveSong.time;
|
||||
_syncTime = true;
|
||||
@@ -530,7 +530,8 @@ namespace Gallop.Live
|
||||
else
|
||||
{
|
||||
_liveCurrentTime += Time.deltaTime;
|
||||
//Debug.Log(_liveCurrentTime * 60);
|
||||
//Debug.Log((float)liveMusic.time / 1000);
|
||||
//Debug.Log(_liveCurrentTime);
|
||||
OnTimelineUpdate(_liveCurrentTime);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user