Enable/disable beta fan control on plugin start
This commit is contained in:
parent
616f73d08c
commit
94ead16ac5
1 changed files with 4 additions and 0 deletions
|
@ -285,6 +285,10 @@ export default definePlugin((serverApi: ServerAPI) => {
|
|||
(async function(){
|
||||
await backend.initBackend();
|
||||
usdplReady = true;
|
||||
backend.getEnabled().then((enabled: boolean) => {
|
||||
//@ts-ignore
|
||||
SteamClient.System.SetBetaFanControl(!enabled);
|
||||
});
|
||||
})();
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue