GameClose
From OxeyeWiki
gameClose | ||
This hook is called when the game is closed, either by Alt+f4 (Windows), Cmd+Q (Mac), or by the function daisy.exitGame | ||
Parameter | Type | Description |
No parameters |
Daisymoon Video Lib |
---|
Example
local function myGameIsClosing() --do some cleanup end hook.add("gameClose", myGameIsClosing)