Lua API: ai.get_suitable_keep now returns integers instead of real numbers
This commit is contained in:
parent
40625ab26f
commit
ca301e1745
1 changed files with 2 additions and 2 deletions
|
@ -158,8 +158,8 @@ static int cfun_ai_get_suitable_keep(lua_State *L)
|
|||
return 0;
|
||||
}
|
||||
else {
|
||||
lua_pushnumber(L, res.wml_x());
|
||||
lua_pushnumber(L, res.wml_y());
|
||||
lua_pushinteger(L, res.wml_x());
|
||||
lua_pushinteger(L, res.wml_y());
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue