fixup! Properly port [modify_side] to Lua

This commit is contained in:
Celtic Minstrel 2016-12-12 13:49:19 -05:00
parent 010acd870d
commit 9802de9813

View file

@ -831,7 +831,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)) {
std::string data = lua_tostring(L, 2);
std::string data = lua_tostring(L, 2);
// Special case - using a shroud_data string, or "all"
team& side = teams()[side_num - 1];
if(place_shroud) {