Skip to content

Commit

Permalink
Lua: Fix audio module registration
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Nov 2, 2023
1 parent dbfa204 commit 3812d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/lua/lua.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ void LuaInitialize()
const sol::table loaded = lua.create_table_with(
"devilutionx.version", PROJECT_VERSION,
"devilutionx.log", LuaLogModule(lua),
"devilutionx.audio", LuaLogModule(lua),
"devilutionx.audio", LuaAudioModule(lua),
"devilutionx.render", LuaRenderModule(lua),
"devilutionx.message", [](std::string_view text) { EventPlrMsg(text, UiFlags::ColorRed); });
lua["require"] = lua["requireGen"](loaded, LuaLoadScriptFromAssets);
Expand Down

0 comments on commit 3812d63

Please sign in to comment.