Added FPS cap setting / Bugfixes
This commit is contained in:
@@ -134,6 +134,10 @@ public class SettingsMenuDialog extends SettingsDialog{
|
||||
//game.sliderPref("sensitivity", 100, 10, 300, i -> i + "%");
|
||||
game.sliderPref("saveinterval", 90, 10, 5 * 120, i -> Bundles.format("setting.seconds", i));
|
||||
|
||||
if(!gwt){
|
||||
graphics.sliderPref("fpscap", 125, 5, 125, 5, s -> (s > 120 ? Bundles.get("setting.fpscap.none") : Bundles.format("setting.fpscap.text", s)));
|
||||
}
|
||||
|
||||
if(!gwt){
|
||||
graphics.checkPref("multithread", true, threads::setEnabled);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user