mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 20:29:06 +07:00
the camper (#8806)
This commit is contained in:
parent
28372b0f47
commit
bfdd7ecc3a
@ -197,7 +197,7 @@ public class PlayerListFragment{
|
||||
}
|
||||
|
||||
//there's generally no reason to team switch outside PvP or sandbox, and it's basically an easy way to cheat
|
||||
if(state.rules.pvp || state.rules.infiniteResources){
|
||||
if(!state.isCampaign() && (state.rules.pvp || state.rules.infiniteResources)){
|
||||
t.button("@player.team", Icon.redo, bstyle, () -> {
|
||||
var teamSelect = new BaseDialog(Core.bundle.get("player.team") + ": " + user.name);
|
||||
teamSelect.setFillParent(false);
|
||||
|
Loading…
Reference in New Issue
Block a user