LD flag is now removed on logging in

This commit is contained in:
Treeku
2013-12-16 05:48:11 +00:00
parent dce213cab1
commit a0da317c9b
2 changed files with 14 additions and 2 deletions
+5 -2
View File
@@ -615,6 +615,10 @@ public class SimulationService implements INetworkDispatch {
PlayerObject ghost = (PlayerObject) object.getSlottedObject("ghost");
if (ghost.isSet(PlayerFlags.LD)) {
ghost.toggleFlag(PlayerFlags.LD);
}
core.weatherService.sendWeather(object);
if (!object.hasSkill(ghost.getProfessionWheelPosition())) {
@@ -622,8 +626,7 @@ public class SimulationService implements INetworkDispatch {
object.playEffectObject("clienteffect/skill_granted.cef", "");
object.playMusic("sound/music_acq_bountyhunter.snd");
core.skillService.addSkill(object, ghost.getProfessionWheelPosition());
}
}
}
public void transferToPlanet(SWGObject object, Planet planet, Point3D newPos, Quaternion newOrientation, SWGObject newParent) {