diff --git a/Docs/Changelog_sm5.txt b/Docs/Changelog_sm5.txt
index 9ba1f8430b..cbf99cc6d2 100644
--- a/Docs/Changelog_sm5.txt
+++ b/Docs/Changelog_sm5.txt
@@ -8,6 +8,11 @@ ________________________________________________________________________________
StepMania 5.0 $next | 2011xxxx
--------------------------------------------------------------------------------
+2011/11/06
+----------
+* [GameState] Add the RefreshNoteSkinData lua binding. This will only
+ refresh the NS data for the present game, not all games. [Wolfman2000]
+
2011/11/02
----------
* [ArchHooks] Add the GetArchName lua binding. To the themers that use
diff --git a/Docs/Luadoc/Lua.xml b/Docs/Luadoc/Lua.xml
index 680893e9f5..a765a49f77 100644
--- a/Docs/Luadoc/Lua.xml
+++ b/Docs/Luadoc/Lua.xml
@@ -793,6 +793,7 @@
+
diff --git a/Docs/Luadoc/LuaDocumentation.xml b/Docs/Luadoc/LuaDocumentation.xml
index 6ed3c3961d..2d27116750 100644
--- a/Docs/Luadoc/LuaDocumentation.xml
+++ b/Docs/Luadoc/LuaDocumentation.xml
@@ -2126,6 +2126,9 @@
Returns true if players can join the game.
+
+ Refreshes the NoteSkin data for the current game.
+
Resets the GameState.
diff --git a/src/GameState.cpp b/src/GameState.cpp
index 70c889077c..05aa1c30e0 100644
--- a/src/GameState.cpp
+++ b/src/GameState.cpp
@@ -2456,6 +2456,12 @@ public:
return 0;
}
+ static int RefreshNoteSkinData( T* p, lua_State *L )
+ {
+ NOTESKIN->RefreshNoteSkinData(p->m_pCurGame);
+ return 0;
+ }
+
static int Dopefish( T* p, lua_State *L )
{
lua_pushboolean(L, p->m_bDopefish);
@@ -2566,6 +2572,7 @@ public:
ADD_METHOD( AddStageToPlayer );
ADD_METHOD( CurrentOptionsDisqualifyPlayer );
ADD_METHOD( ResetPlayerOptions );
+ ADD_METHOD( RefreshNoteSkinData );
ADD_METHOD( Dopefish );
}
};