Skip to content

Commit 32fabac

Browse files
committed
Removed modal callback
1 parent 64c427b commit 32fabac

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Diff for: src/game/App.hx

-5
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,6 @@ class App extends dn.Process {
282282
}
283283

284284

285-
public function onLastModalClosed() {
286-
cd.setS("modalClosedRecently", 0.1);
287-
}
288-
289-
290285
/** Return TRUE if an App instance exists **/
291286
public static inline function exists() return ME!=null && !ME.destroyed;
292287

Diff for: src/game/ui/Window.hx

+1-3
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,8 @@ class Window extends dn.Process {
8181
ca.dispose();
8282
ca = null;
8383

84-
if( !hasAnyModal() ) {
85-
App.ME.onLastModalClosed();
84+
if( !hasAnyModal() )
8685
Game.ME.resume();
87-
}
8886
}
8987

9088
@:keep override function toString():String {

0 commit comments

Comments
 (0)