Changeset 1438 for code/branches/console/src/core/Script.cc
- Timestamp:
- May 27, 2008, 4:30:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/core/Script.cc
r1334 r1438 128 128 if (error == 0) 129 129 error = lua_pcall(luaState_, 0, 0, 0); 130 if (error != 0) COUT(2) << "Error in Lua-script: " << lua_tostring(luaState_, -1) << std::endl; 130 if (error != 0) 131 { 132 COUT(2) << "Error in Lua-script: " << lua_tostring(luaState_, -1) << std::endl; 133 } 131 134 } 132 135
Note: See TracChangeset
for help on using the changeset viewer.