diff --git a/src/com/brindyblitz/artemis/ClientMain.java b/src/com/brindyblitz/artemis/ClientMain.java index 067f22a..5a461e5 100644 --- a/src/com/brindyblitz/artemis/ClientMain.java +++ b/src/com/brindyblitz/artemis/ClientMain.java @@ -44,13 +44,13 @@ public static void main(String[] args) throws IOException { public ClientMain() { EngineeringConsoleManager engineeringConsoleManager = new FakeEngineeringConsoleManager(); - buildUIFrame(engineeringConsoleManager, new Damcon().getCanvas()); + buildUIFrame(engineeringConsoleManager, new Damcon(engineeringConsoleManager).getCanvas()); } public ClientMain(String host, int port) throws IOException { WorldAwareRobustProxyListener worldAwareRobustProxyListener = new WorldAwareRobustProxyListener(host, port, port); EngineeringConsoleManager engineeringConsoleManager = new RealEngineeringConsoleManager(worldAwareRobustProxyListener); - buildUIFrame(engineeringConsoleManager, new Damcon().getCanvas()); + buildUIFrame(engineeringConsoleManager, new Damcon(engineeringConsoleManager).getCanvas()); } private static void buildUIFrame(EngineeringConsoleManager engineeringConsoleManager, Canvas3D damcon_canvas) {