cervus
cervus copied to clipboard
Return the handler from game.on
This makes it easier to bind an anonymous handler to a variable:
let handler = game.on("event", () => ...);