Skip to content

Commit

Permalink
Merge pull request #1106 from Andyyy7666/master
Browse files Browse the repository at this point in the history
fix:(bridge/ndcore): exports & resource name
  • Loading branch information
itschip authored Jan 7, 2024
2 parents ad79013 + bfd0a96 commit a4f6575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/game/server/bridge/ndcore/ndcore-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class NDCoreFramework implements Strategy {

onStart(): void {
on('onServerResourceStart', async (resource: string) => {
const NDCore = global.exports['ND-Core'].GetCoreObject();
const NDCore = global.exports['ND_Core'];

if (resource === GetCurrentResourceName()) {
const onlinePlayers = NDCore.getPlayers() as NDPlayer[];
Expand Down

0 comments on commit a4f6575

Please sign in to comment.