mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-10 07:47:25 +07:00
Server hotfix
This commit is contained in:
@ -846,7 +846,7 @@ public class ServerControl extends Module{
|
|||||||
if(world.getSector().completedMissions >= world.getSector().missions.size){
|
if(world.getSector().completedMissions >= world.getSector().missions.size){
|
||||||
world.sectors().completeSector(world.getSector().x, world.getSector().y);
|
world.sectors().completeSector(world.getSector().x, world.getSector().y);
|
||||||
world.sectors().save();
|
world.sectors().save();
|
||||||
Settings.putInt("sectorid", world.getSector().x + 1);
|
Settings.putInt("sectorid", world.getSector().x + world.getSector().size);
|
||||||
Settings.save();
|
Settings.save();
|
||||||
|
|
||||||
netServer.kickAll(KickReason.sectorComplete);
|
netServer.kickAll(KickReason.sectorComplete);
|
||||||
|
Reference in New Issue
Block a user