fxi F7 forreal

This commit is contained in:
yugecin 2016-10-01 12:19:26 +02:00
parent f233361a9b
commit eb3ff1040b

View File

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