Skip to content

Commit 4553949

Browse files
committed
Fix create_as_hint=2 arg to LocationScouts
1 parent e119986 commit 4553949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lua-apclientpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ static int apclient_LocationScouts(lua_State *L)
12801280
{
12811281
LuaAPClient *self = LuaAPClient::luaL_checkthis(L, 1);
12821282

1283-
bool create_as_hints = false;
1283+
int create_as_hints = 0;
12841284
if (lua_gettop(L) >= 3) {
12851285
if (lua_isboolean(L, 3))
12861286
create_as_hints = lua_toboolean(L, 3) ? 1 : 0;

0 commit comments

Comments
 (0)