summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-01-15 12:54:46 +0100
committerMattes D <github@xoft.cz>2017-01-15 12:54:58 +0100
commite9547101b1d95167657a9b470eef1f0029fcb7e6 (patch)
treee51cadb2a18e6c50d77aaac4554af427de067b92 /src/Bindings/LuaState.h
parentMoved cPrefab parser self-check to the LoadablePieces test. (#3536) (diff)
downloadcuberite-e9547101b1d95167657a9b470eef1f0029fcb7e6.tar
cuberite-e9547101b1d95167657a9b470eef1f0029fcb7e6.tar.gz
cuberite-e9547101b1d95167657a9b470eef1f0029fcb7e6.tar.bz2
cuberite-e9547101b1d95167657a9b470eef1f0029fcb7e6.tar.lz
cuberite-e9547101b1d95167657a9b470eef1f0029fcb7e6.tar.xz
cuberite-e9547101b1d95167657a9b470eef1f0029fcb7e6.tar.zst
cuberite-e9547101b1d95167657a9b470eef1f0029fcb7e6.zip
Diffstat (limited to 'src/Bindings/LuaState.h')
-rw-r--r--src/Bindings/LuaState.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h
index 80f5c3cc6..558e8d79a 100644
--- a/src/Bindings/LuaState.h
+++ b/src/Bindings/LuaState.h
@@ -522,7 +522,8 @@ public:
/** Allows this object to be used in the same way as a lua_State *, for example in the LuaLib functions */
operator lua_State * (void) { return m_LuaState; }
- /** Creates the m_LuaState, if not closed already. This state will be automatically closed in the destructor.
+ /** Creates the m_LuaState, if not created already.
+ This state will be automatically closed in the destructor.
The regular Lua libs are registered, but the MCS API is not registered (so that Lua can be used as
lite-config as well), use RegisterAPILibs() to do that. */
void Create(void);