From d525832edc6dfce6e1147f223df24e8f31fdf770 Mon Sep 17 00:00:00 2001 From: Jacob Frank Date: Fri, 15 Jan 2016 20:57:35 -0800 Subject: [PATCH] Oops --- src/com/brindyblitz/artemis/ClientMain.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {