1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-11-13 07:15:28 +03:00

Fixed #903 / Fixed #902

This commit is contained in:
Anuken 2019-10-26 21:20:05 -04:00
parent 236ed74cae
commit 4e946ae52b
2 changed files with 5 additions and 1 deletions

View File

@ -331,6 +331,8 @@ public class NetServer implements ApplicationListener{
player.sendMessage("[scarlet]Did you really expect to be able to kick an admin?");
}else if(found.isLocal){
player.sendMessage("[scarlet]Local players cannot be kicked.");
}else if(found.getTeam() != player.getTeam()){
player.sendMessage("[scarlet]Only players on your team can be kicked.");
}else{
if(!vtime.get()){
player.sendMessage("[scarlet]You must wait " + voteTime/60 + " minutes between votekicks.");

View File

@ -153,7 +153,9 @@ public class MobileInput extends InputHandler implements GestureListener{
void removeRequest(BuildRequest request){
selectRequests.removeValue(request, true);
removals.add(request);
if(!request.breaking){
removals.add(request);
}
}
boolean isLinePlacing(){