Skip to content

Commit 74c9a92

Browse files
committed
🔥 Broadcasting Hotfix 🔥
1 parent 0a3c918 commit 74c9a92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

EmptyServer/custom/sendStuff.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ module.exports = class SendStuff {
2727
}
2828

2929
broadcastAll(pack, notme) {
30-
return broadcastList(clients, pack, notme);
30+
return this.broadcastList(global.clients, pack, notme);
3131
}
3232

3333
broadcastLobby(pack, notme) {
3434
if (this.lobby === null)
3535
return -1
3636

37-
return broadcastList(this.lobby.players, pack, notme);
37+
return this.broadcastList(this.lobby.players, pack, notme);
3838
}
3939

4040
// these functions can be later called using %insert_client%.sendThing()

Release/EmptyServer.zip

-28 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)