Implemented standalone server, fixed breaking bugs
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
package io.anuke.mindustry;
|
||||
|
||||
import io.anuke.mindustry.core.*;
|
||||
import io.anuke.mindustry.io.BundleLoader;
|
||||
import io.anuke.mindustry.io.BlockLoader;
|
||||
import io.anuke.mindustry.io.BundleLoader;
|
||||
import io.anuke.ucore.core.Inputs;
|
||||
import io.anuke.ucore.modules.ModuleCore;
|
||||
|
||||
import static io.anuke.mindustry.Vars.*;
|
||||
@@ -23,4 +24,11 @@ public class Mindustry extends ModuleCore {
|
||||
module(netClient = new NetClient());
|
||||
module(netCommon = new NetCommon());
|
||||
}
|
||||
|
||||
//hack
|
||||
@Override
|
||||
public void render() {
|
||||
super.render();
|
||||
Inputs.update();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user