quantumde1 4 недель назад
Родитель
Сommit
5e365f4fd9
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      source/system/cleanup.d

+ 1 - 2
source/system/cleanup.d

@@ -6,7 +6,6 @@ import raylib;
 import core.sys.posix.sys.mman;
 
 nothrow void resetAllScriptValues() {
-    UnloadTexture(dialogBackgroundTex);
     debugWriteln("cleaning all values!");
     selectedChoice = 0;
     debugWriteln("unloading animations");
@@ -28,4 +27,4 @@ nothrow void resetAllScriptValues() {
     backgroundTextures = [];
     textures = [];
     shaders = [];
-}
+}