mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 09:06:55 -04:00
Android version: Fix if you quit and return to game multiple times, you end up moving at hyperspeed
This commit is contained in:
parent
174bbc6363
commit
39feb29b15
@ -628,6 +628,7 @@ void Game_Free(void* obj) {
|
||||
/* Set to false so components will always free managed textures too */
|
||||
Gfx.ManagedTextures = false;
|
||||
Event_UnregisterAll();
|
||||
tasksCount = 0;
|
||||
|
||||
for (comp = comps_head; comp; comp = comp->next) {
|
||||
if (comp->Free) comp->Free();
|
||||
|
Loading…
x
Reference in New Issue
Block a user