diff --git a/Docs/Luadoc/Lua.xml b/Docs/Luadoc/Lua.xml
index 645cad89f2..a4ba678cb9 100644
--- a/Docs/Luadoc/Lua.xml
+++ b/Docs/Luadoc/Lua.xml
@@ -716,6 +716,7 @@
+
diff --git a/Docs/Luadoc/LuaDocumentation.xml b/Docs/Luadoc/LuaDocumentation.xml
index 665f52d98e..a7efd3f91f 100644
--- a/Docs/Luadoc/LuaDocumentation.xml
+++ b/Docs/Luadoc/LuaDocumentation.xml
@@ -2115,6 +2115,9 @@ save yourself some time, copy this for undocumented things:
Play the sound at sPath one time.
+
+ Stops the music.
+
diff --git a/src/GameSoundManager.cpp b/src/GameSoundManager.cpp
index db721d5a99..18b95670cb 100644
--- a/src/GameSoundManager.cpp
+++ b/src/GameSoundManager.cpp
@@ -855,6 +855,8 @@ public:
return 0;
}
+ static int StopMusic( T* p, lua_State *L ) { p->StopMusic(); return 0; }
+
LunaGameSoundManager()
{
ADD_METHOD( DimMusic );
@@ -862,6 +864,7 @@ public:
ADD_METHOD( PlayAnnouncer );
ADD_METHOD( GetPlayerBalance );
ADD_METHOD( PlayMusicPart );
+ ADD_METHOD( StopMusic );
}
};