Skip to content

Commit 7d8f156

Browse files
authored
Update Main.hx
1 parent 3276132 commit 7d8f156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Main.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class Main extends openfl.display.Sprite
180180
FlxG.mouse.visible = false;
181181
#end
182182

183-
Lib.application.onExit.add(function()
183+
Lib.current.stage.application.window.onClose.add(function()
184184
{
185185
#if hxgamemode
186186
if (GamemodeClient.request_end() != 0)

0 commit comments

Comments
 (0)