Fix warning about no such builtin
This commit is contained in:
@@ -203,7 +203,7 @@ public:
|
||||
void receive_diff_from_server(StreamBuffer *sb) {
|
||||
world_to_synchronous();
|
||||
try {
|
||||
DebugCollector dbc("patch_everything");
|
||||
DebugCollector dbc("");
|
||||
int64_t nactor = world_->patch_everything(sb, &dbc);
|
||||
if (nactor != actor_id_) change_actor_id(nactor);
|
||||
dbc.dump(stdostream());
|
||||
|
||||
@@ -480,7 +480,7 @@ void SourceDB::register_lua_builtins() {
|
||||
}
|
||||
if (reg->get_func() == nullptr) {
|
||||
if (builtin == nullptr) {
|
||||
if ((!reg->get_sandbox()) || (reg->get_args() != nullptr)) {
|
||||
if (!reg->get_sandbox()) {
|
||||
std::cerr << "No such builtin function: " << classname << " " << funcname << std::endl;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user