Only close open UIs when choosing SSM kits
This commit is contained in:
parent
560abc933c
commit
c40e07695c
@ -22,6 +22,8 @@ import nautilus.game.arcade.events.GameStateChangeEvent;
|
|||||||
import nautilus.game.arcade.events.PlayerGameRespawnEvent;
|
import nautilus.game.arcade.events.PlayerGameRespawnEvent;
|
||||||
import nautilus.game.arcade.events.PlayerStateChangeEvent;
|
import nautilus.game.arcade.events.PlayerStateChangeEvent;
|
||||||
import nautilus.game.arcade.game.GameTeam.PlayerState;
|
import nautilus.game.arcade.game.GameTeam.PlayerState;
|
||||||
|
import nautilus.game.arcade.game.games.smash.SuperSmash;
|
||||||
|
import nautilus.game.arcade.game.games.smash.SuperSmashDominate;
|
||||||
import nautilus.game.arcade.kit.Kit;
|
import nautilus.game.arcade.kit.Kit;
|
||||||
import nautilus.game.arcade.kit.KitAvailability;
|
import nautilus.game.arcade.kit.KitAvailability;
|
||||||
import nautilus.game.arcade.kit.Perk;
|
import nautilus.game.arcade.kit.Perk;
|
||||||
@ -887,7 +889,7 @@ public abstract class Game implements Listener
|
|||||||
{
|
{
|
||||||
kit.ApplyKit(player);
|
kit.ApplyKit(player);
|
||||||
}
|
}
|
||||||
else
|
else if (this instanceof SuperSmash || this instanceof SuperSmashDominate)
|
||||||
{
|
{
|
||||||
player.closeInventory();
|
player.closeInventory();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user