Quellcode durchsuchen

fixed music on glibc

quantumde1 vor 2 Monaten
Ursprung
Commit
03647e846e
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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;
 }