Fix MiniGame Error
The owner of the room would get stuck if the visitor left the miniroom by closing the game
This commit is contained in:
@@ -5551,6 +5551,9 @@ public class Character extends AbstractCharacterObject {
|
||||
if (game.isOwner(this)) {
|
||||
game.closeRoom(forceClose);
|
||||
} else {
|
||||
if (game.isMatchInProgress()) {
|
||||
game.minigameMatchOwnerWins(true);
|
||||
}
|
||||
game.removeVisitor(forceClose, this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user