Changed CmdStartScene to use galacticTime

This should fix the time of day's being incorrect when using multiple
clients
This commit is contained in:
Waverunner
2014-05-10 17:13:06 -04:00
parent b5344eab07
commit d38bc9eb29
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -836,9 +836,9 @@ public class ObjectService implements INetworkDispatch {
core.buffService.clearBuffs(creature);
CmdStartScene startScene = new CmdStartScene((byte) 0, objectId, creature.getPlanet().getPath(), creature.getTemplate(), position.x, position.y, position.z, core.getGalacticTime(), 0);
CmdStartScene startScene = new CmdStartScene((byte) 0, objectId, creature.getPlanet().getPath(), creature.getTemplate(), position.x, position.y, position.z, core.getGalacticTime() / 1000, 0);
session.write(startScene.serialize());
ChatServerStatus chatServerStatus = new ChatServerStatus();
client.getSession().write(chatServerStatus.serialize());