mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-05 07:47:48 +07:00
Fixed editor crashing with multithreading on
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#Autogenerated file. Do not modify.
|
||||
#Fri Feb 09 22:22:25 EST 2018
|
||||
#Sat Feb 10 11:08:25 EST 2018
|
||||
version=beta
|
||||
androidBuildCode=143
|
||||
name=Mindustry
|
||||
|
@ -364,6 +364,10 @@ public class Control extends Module{
|
||||
tutorial.update();
|
||||
}
|
||||
}
|
||||
}else{
|
||||
if(!state.is(State.paused) || Net.active()){
|
||||
Timers.update();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -110,12 +110,12 @@ public class Logic extends Module {
|
||||
@Override
|
||||
public void update(){
|
||||
|
||||
if(!state.is(State.paused) || Net.active()){
|
||||
Timers.update();
|
||||
}
|
||||
|
||||
if(!state.is(State.menu)){
|
||||
|
||||
if(!state.is(State.paused) || Net.active()){
|
||||
Timers.update();
|
||||
}
|
||||
|
||||
if(!Net.client())
|
||||
world.pathfinder().update();
|
||||
|
||||
|
Reference in New Issue
Block a user