add input delay
This commit is contained in:
@@ -87,7 +87,7 @@ void Aquarium::redraw() {
|
||||
entities_need_sorting = true;
|
||||
}
|
||||
|
||||
// Add new entities (only if we have them)
|
||||
// Add new entities if we have them
|
||||
if (!newEntities.empty()) {
|
||||
// Reserve space to minimize reallocations
|
||||
entities.reserve(entities.size() + newEntities.size());
|
||||
|
||||
Reference in New Issue
Block a user