mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-21 15:53:50 +02:00
Only apply font change when running under wine
This commit is contained in:
@@ -23,7 +23,7 @@ export default class extends baseClass {
|
||||
nextClearVRCXCacheCheck: 0,
|
||||
nextDiscordUpdate: 0,
|
||||
nextAutoStateChange: 0,
|
||||
nextGameRunningCheck: 0,
|
||||
nextGameRunningCheck: 0
|
||||
};
|
||||
|
||||
_methods = {
|
||||
@@ -76,7 +76,10 @@ export default class extends baseClass {
|
||||
this.nextAutoStateChange = 3;
|
||||
this.updateAutoStateChange();
|
||||
}
|
||||
if (--this.nextGameRunningCheck <= 0) {
|
||||
if (
|
||||
this.isRunningUnderWine &&
|
||||
--this.nextGameRunningCheck <= 0
|
||||
) {
|
||||
this.nextGameRunningCheck = 3;
|
||||
AppApi.CheckGameRunning();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user