fix initial ups on boot being incorrect

This commit is contained in:
yugecin 2018-10-03 23:20:06 +02:00
parent 19392ef2d0
commit 3d6801d935
No known key found for this signature in database
GPG Key ID: 2C5AC035A7068E44

View File

@ -164,7 +164,7 @@ public class DisplayContainer implements ErrorDumpable, SkinChangedListener {
}
public void init(OpsuState startingState) {
setUPS(OPTION_TARGET_UPS.val);
setUPS(targetUPS[OPTION_TARGET_UPS.val]);
setFPS(targetFPS[targetFPSIndex]);
state = startingState;