mirror of
https://github.com/RaindropViewer/RaindropViewer.git
synced 2026-07-27 22:11:39 +00:00
fix NetworkInvaildWarning to show up.
This commit is contained in:
@@ -500,7 +500,7 @@ namespace OpenMetaverse
|
||||
protected void NetworkInvaildWarning(string source,string function)
|
||||
{
|
||||
long now = DateTimeOffset.Now.ToUnixTimeSeconds();
|
||||
long dif = lastpacketwarning - now;
|
||||
long dif = now - lastpacketwarning;
|
||||
if (dif > 10)
|
||||
{
|
||||
lastpacketwarning = now;
|
||||
|
||||
Reference in New Issue
Block a user