Fix RenderableContext didn't check if mapHandler is null in input()
This commit is contained in:
@@ -61,8 +61,10 @@ public class RenderableContext implements Context, Updatable, Renderable {
|
||||
}
|
||||
|
||||
public void input(Window window) {
|
||||
if (mapHandler != null) {
|
||||
mapHandler.input(window);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(float dt) {
|
||||
|
||||
Reference in New Issue
Block a user