Skip to content

Commit

Permalink
forgot again
Browse files Browse the repository at this point in the history
  • Loading branch information
xxshady committed Jun 25, 2024
1 parent db79fdc commit e046bc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/altv-inject/server/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
} from "../shared"
import type net from "net"
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
import alt from "alt-server"
import type alt from "alt-server"
import { ControlledPromise, SocketConnect } from "@/shared/util"
import { INSTANCE_ID_META_KEY, RESOURCE_RESTARTED_META_KEY } from "./constants"
import type path from "path"
Expand Down Expand Up @@ -325,7 +325,7 @@ export class ServerSetup {

this.log.info(`start a timer for ~cl~${playersReconnectDelay}~w~ ms to reconnect players (${players.length})`)

const spawnAfterConnect = alt.getServerConfig()["spawnAfterConnect"] as boolean ?? false
const spawnAfterConnect = _alt.getServerConfig()["spawnAfterConnect"] as boolean ?? false

setTimeout(() => {
for (const p of players) {
Expand Down

0 comments on commit e046bc2

Please sign in to comment.