mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Reimplemented dream packets. Fixed instance update bug that was locking up client when waking up. When going to sleep the proper position is saved. Still need to handle if the player logs out in the inn vs sleeping.
This commit is contained in:
parent
e4d43d952b
commit
aa54fb11cc
4 changed files with 93 additions and 42 deletions
|
@ -105,9 +105,9 @@ namespace Meteor.Map.dataobjects
|
|||
playerActor.QueuePositionUpdate(new Vector3(x,y,z));
|
||||
}
|
||||
|
||||
public void UpdateInstance(List<Actor> list)
|
||||
public void UpdateInstance(List<Actor> list, bool force = false)
|
||||
{
|
||||
if (isUpdatesLocked)
|
||||
if (isUpdatesLocked && !force)
|
||||
return;
|
||||
|
||||
List<BasePacket> basePackets = new List<BasePacket>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue