Skip to content

Commit

Permalink
Merge pull request Team-Silver-Sphere#215 from 11TStudio/patch-6
Browse files Browse the repository at this point in the history
Add SQUAD_CREATED to list of events emitted by Socket.io
  • Loading branch information
Thomas-Smyth authored Oct 27, 2021
2 parents f825b4a + dbbb708 commit 19e3e75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion squad-server/plugins/socket-io-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const eventsToBroadcast = [
'PLAYER_AUTO_KICKED',
'PLAYER_WARNED',
'PLAYER_KICKED',
'PLAYER_BANNED'
'PLAYER_BANNED',
'SQUAD_CREATED'
];

export default class SocketIOAPI extends BasePlugin {
Expand Down

0 comments on commit 19e3e75

Please sign in to comment.