浏览代码

fixed music on glibc

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;
 }