Fixed bug ??? : Unittype was never extracted correctly
This commit is contained in:
parent
e8852e93b9
commit
1c07c07bd5
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ local int CclIfUnitAt(lua_State* l)
|
|||
LuaError(l, "Illegal comparison operator in if-unit-at: %s" _C_ op);
|
||||
}
|
||||
q = LuaToNumber(l, 3);
|
||||
lua_pushvalue(l, 1);
|
||||
lua_pushvalue(l, 4);
|
||||
unittype = TriggerGetUnitType(l);
|
||||
lua_pop(l, 1);
|
||||
if (!lua_istable(l, 5) || luaL_getn(l, 5) != 2) {
|
||||
|
|
Loading…
Add table
Reference in a new issue