Skip to content

Commit

Permalink
fix: listen for SpaceshipFound event
Browse files Browse the repository at this point in the history
  • Loading branch information
cha0sg0d committed Oct 5, 2022
1 parent 367c24e commit 1786f0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/Backend/GameLogic/ContractsAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export class ContractsAPI extends EventEmitter {
contract.filters.AdminGiveSpaceship(null, null).topics,
contract.filters.PauseStateChanged(null).topics,
contract.filters.LobbyCreated(null, null).topics,
contract.filters.SpaceshipFound(null, null, null).topics,
].map((topicsOrUndefined) => (topicsOrUndefined || [])[0]),
] as Array<string | Array<string>>,
};
Expand Down

0 comments on commit 1786f0b

Please sign in to comment.