Skip to content

Commit a646dc0

Browse files
committed
Merge remote-tracking branch 'upstream/unstable' into unstable
2 parents 77c48b5 + 9db3980 commit a646dc0

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

MMOCoreORB/src/server/zone/objects/creature/commands/StartMusicCommand.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ class StartMusicCommand: public QueueCommand {
124124
return GENERALERROR;
125125
}
126126

127+
creature->sendSystemMessage("@performance:music_start_self"); // You begin playing.
127128
startMusic(creature, performanceIndex, instrument);
128129

129130
return SUCCESS;

MMOCoreORB/src/server/zone/objects/player/sessions/EntertainingSession.idl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,11 @@ class EntertainingSession extends Facade {
103103
}
104104

105105
public int cancelSession() {
106-
stopMusic(true);
107-
stopDancing();
106+
if (isPlayingMusic()) {
107+
stopMusic(true);
108+
} else {
109+
stopDancing();
110+
}
108111

109112
return 0;
110113
}

0 commit comments

Comments
 (0)