Skip to content

Commit 1eadc1f

Browse files
committed
fix(database): Table Check
1 parent 0f2c153 commit 1eadc1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/core/scripting/database.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void DatabaseQueryThread()
7777
rowTbl[key] = std::any_cast<double>(value);
7878
}
7979

80-
tbl.append(rowTbl);
80+
if (rowTbl.isTable()) tbl.append(rowTbl);
8181
}
8282

8383
luabridge::LuaRef ref = *(luabridge::LuaRef*)queue.callback;

0 commit comments

Comments
 (0)