This commit is contained in:
kawagiri 2026-05-12 13:05:56 +08:00
commit eabcf21685
2 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,8 @@ namespace RuntimeData
public void OnSendHeartbeat()
{
if (PingRecordTime == 0) PingRecordTime = Time.time;
if (PingRecordTime == 0 || Time.time - PingRecordTime > 5f)
PingRecordTime = Time.time;
}
public void OnReceiveHeartbeat()

View File

@ -330,6 +330,7 @@ namespace Logic.Editor
{
var activeStr = RemoveCsvQuotes(cells[1]);
item.IsActive = MultilingualItem.ParseBoolStr(activeStr);
if (!item.IsActive) continue;
}
if (cells.Length >= 3)
{