make F7 key work again

This commit is contained in:
yugecin 2016-10-01 12:17:02 +02:00
parent a7e1a2e32f
commit d6bd2b5649

View File

@ -1314,7 +1314,7 @@ public class Options {
* @param container the game container
*/
public static void setNextFPS(GameContainer container) {
GameOption.TARGET_FPS.click(container);
GameOption.TARGET_FPS.clickListItem((GameOption.TARGET_FPS.val + 1) % targetFPS.length);
UI.sendBarNotification(String.format("Frame limiter: %s", GameOption.TARGET_FPS.getValueString()));
}