Browse Source

Merge pull request #177 from Mike3D/master

Tiny fix to LuaScript.cpp
Yao Wei Tjong 12 years ago
parent
commit
b07270bf0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Engine/LuaScript/LuaScript.cpp

+ 1 - 1
Source/Engine/LuaScript/LuaScript.cpp

@@ -282,7 +282,7 @@ int LuaScript::Loader(lua_State* L)
     if (luaFile)
         return luaFile->LoadChunk(L) ? 1 : 0;
 
-    return false;
+    return 0;
 }
 
 void LuaScript::ReplacePrint()