Skip to content

Commit

Permalink
Update global-handlers.md (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
rimuy authored Jul 3, 2024
1 parent 3b18f87 commit 1e8495a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/additional-modules/networking/global-handlers.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const GlobalFunctions = Networking.createFunction<S, C>();


GlobalEvents.registerHandler("onBadRequest", (player) => print(player, "sent a bad request!"));
GlobalEvents.registerHandler("onBadResponse", (player) => print(player, "returned a bad response!"));
GlobalFunctions.registerHandler("onBadResponse", (player) => print(player, "returned a bad response!"));

```

Expand Down

0 comments on commit 1e8495a

Please sign in to comment.