Enable/disable beta fan control on plugin start

This commit is contained in:
NGnius (Graham) 2022-07-15 17:08:48 -04:00
parent 616f73d08c
commit 94ead16ac5

View file

@ -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 {