Browse Source

fixed music on glibc

quantumde1 2 tháng trước cách đây
mục cha
commit
03647e846e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;
 }