Fix inverted condition in Lua shroud op API

This commit is contained in:
Celtic Minstrel 2017-03-10 18:09:39 -05:00
parent df0a665571
commit 2069449805

View File

@ -830,7 +830,7 @@ int game_lua_kernel::intf_shroud_op(lua_State *L, bool place_shroud)
int side_num = luaL_checkinteger(L, 1);
if(!lua_isstring(L, 2)) {
if(lua_isstring(L, 2)) {
std::string data = lua_tostring(L, 2);
// Special case - using a shroud_data string, or "all"
team& side = teams()[side_num - 1];