mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 14:34:32 +02:00
fixed some timers
- status icons now display (<3 u ion) - todo: populate status tables, figure out why effect wont tick down for me
This commit is contained in:
parent
ddad27a5f9
commit
8bebba64b3
10 changed files with 55 additions and 35 deletions
|
@ -43,6 +43,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
|
||||
public List<Vector3> positionUpdates = new List<Vector3>();
|
||||
public DateTime lastMoveUpdate;
|
||||
protected DateTime lastUpdate;
|
||||
public Actor target;
|
||||
|
||||
public bool hasMoved = false;
|
||||
|
@ -161,7 +162,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
updateMs = 150;
|
||||
}
|
||||
|
||||
if (forceUpdate || (hasMoved && ((this is Player) || diffTime.Milliseconds >= updateMs)))
|
||||
if (forceUpdate || (hasMoved && ((this is Player) || diffTime.TotalMilliseconds >= updateMs)))
|
||||
{
|
||||
hasMoved = (this.positionUpdates != null && this.positionUpdates.Count > 0);
|
||||
if (hasMoved)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue