performanceCounter is no longer unnecessarily reset with /startDance

This commit is contained in:
Mads Boddum
2016-04-03 02:25:16 +02:00
parent e411d6aa6e
commit eda9fa6e88
@@ -84,7 +84,6 @@ public class EntertainmentService extends Service {
private void startDancing(CreatureObject dancer, String danceId) {
dancer.setAnimation(danceId);
dancer.setPerformanceId(0); // 0 - anything else will make it look like we're playing music
dancer.setPerformanceCounter(0); // TODO is this correct?
dancer.setPerforming(true);
dancer.setPosture(Posture.SKILL_ANIMATING);
new ChatBroadcastIntent(dancer.getOwner(), "@performance:dance_start_self").broadcast();