camera: fix bug introduced by #2246 where settings would be the default primitives upon startup (#2247)

This commit is contained in:
ThatGamerBlue
2020-01-16 01:20:16 +00:00
committed by Ganom
parent 391d8928a5
commit 9fcd5405a4

View File

@@ -113,6 +113,7 @@ public class CameraPlugin extends Plugin implements KeyListener, MouseListener
@Override @Override
protected void startUp() protected void startUp()
{ {
updateConfig();
rightClick = false; rightClick = false;
middleClick = false; middleClick = false;
menuHasEntries = false; menuHasEntries = false;
@@ -450,4 +451,4 @@ public class CameraPlugin extends Plugin implements KeyListener, MouseListener
this.ctrlZoomValue = config.ctrlZoomValue(); this.ctrlZoomValue = config.ctrlZoomValue();
this.zoomIncrement = config.zoomIncrement(); this.zoomIncrement = config.zoomIncrement();
} }
} }