Visual server respawning fix
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package io.anuke.mindustry.net;
|
||||
|
||||
import io.anuke.arc.Core;
|
||||
import io.anuke.arc.collection.ObjectMap;
|
||||
import io.anuke.arc.collection.ObjectMap.Entry;
|
||||
import io.anuke.arc.util.Time;
|
||||
@@ -122,10 +121,6 @@ public class NetworkIO{
|
||||
for(int j = 0; j < cores; j++){
|
||||
state.teams.get(team).cores.add(world.tile(stream.readInt()));
|
||||
}
|
||||
|
||||
if(team == player.getTeam() && cores > 0){
|
||||
Core.camera.position.set(state.teams.get(team).cores.first().drawx(), state.teams.get(team).cores.first().drawy());
|
||||
}
|
||||
}
|
||||
|
||||
}catch(IOException e){
|
||||
|
||||
Reference in New Issue
Block a user