Merge branch 'main' of https://github.com/jyelon/luprex into main

This commit is contained in:
2022-05-06 15:50:24 -04:00

View File

@@ -725,7 +725,9 @@ void World::guard_nopredict(lua_State *L, const char *fn) {
}
void World::schedule(int64_t clk, int64_t thid, int64_t plid) {
if (clk > 0) {
assert(is_authoritative());
}
thread_sched_.add(clk, thid, plid);
}