From fa001c4a249e92dbdb34fd97253c613e4746bd23 Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 3 Jan 2015 22:41:25 +0100 Subject: [PATCH] add F5 to zone planners --- common/buildcraft/commander/GuiZonePlan.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/buildcraft/commander/GuiZonePlan.java b/common/buildcraft/commander/GuiZonePlan.java index 0ab3919d..c7246960 100755 --- a/common/buildcraft/commander/GuiZonePlan.java +++ b/common/buildcraft/commander/GuiZonePlan.java @@ -11,6 +11,7 @@ package buildcraft.commander; import java.util.LinkedList; import java.util.List; +import org.lwjgl.input.Keyboard; import org.lwjgl.input.Mouse; import org.lwjgl.opengl.GL11; @@ -293,7 +294,10 @@ public class GuiZonePlan extends GuiAdvancedInterface { protected void keyTyped(char carac, int val) { super.keyTyped(carac, val); - if (carac == '+' && zoomLevel > 1) { + if (val == Keyboard.KEY_F5) { + uploadMap(); + refreshSelectedArea(); + } else if (carac == '+' && zoomLevel > 1) { zoomLevel--; uploadMap(); refreshSelectedArea();