forked from EXTERNAL/bareiron
"deferred block updates": falling sand and flowing water
This commit is contained in:
@@ -595,6 +595,10 @@ int main () {
|
||||
// Check if it's time to yield to the idle task
|
||||
task_yield();
|
||||
|
||||
if (deferred_block_updates_count == MAX_DEFERRED_BLOCK_UPDATES) {
|
||||
printf("WARNING: Deferred block update queue maxed out\n");
|
||||
}
|
||||
|
||||
// Attempt to accept a new connection
|
||||
for (int i = 0; i < MAX_PLAYERS; i ++) {
|
||||
if (clients[i] != -1) continue;
|
||||
|
Reference in New Issue
Block a user