Set serverApi as soon as possible
This commit is contained in:
parent
d3f5a7d4df
commit
278a28a11f
1 changed files with 2 additions and 0 deletions
|
@ -415,6 +415,8 @@ export default definePlugin((serverApi: ServerAPI) => {
|
|||
exact: true,
|
||||
});
|
||||
|
||||
python.setServer(serverApi);
|
||||
|
||||
//@ts-ignore
|
||||
lifetimeHook = SteamClient.GameSessions.RegisterForAppLifetimeNotifications((update) => {
|
||||
if (update.bRunning) {
|
||||
|
|
Loading…
Reference in a new issue