UI - Clear mouse delegate if script is reloaded

Not the perfect solution but hey, it prevents a crash.
This commit is contained in:
Emmanuel BENOîT 2018-03-30 21:30:51 +02:00
parent 956836390a
commit 3e7174d0c2

View file

@ -32,6 +32,7 @@ bool T_Demo::render( )
program = std::move( nProgram );
rv = true;
}
UI::Sync( ).clearMouseDelegate( );
}
UI::Sync( ).updateTime( );