quantumde1 преди 2 месеца
родител
ревизия
03647e846e
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      source/scripts/lua.d

+ 1 - 0
source/scripts/lua.d

@@ -269,6 +269,7 @@ extern (C) nothrow int luaL_stopMusic(lua_State* L)
 extern (C) nothrow int luaL_unloadMusic(lua_State* L)
 {
     UnloadMusicStream(music);
+    music = Music();
     return 0;
 }