mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-15 16:27:14 +00:00
feat(ugc): queue_on_property_save: only queued models are made, a property's are queued when it is saved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -838,6 +838,8 @@ void PropertyManagementComponent::Save() {
|
||||
info.id = propertyId;
|
||||
info.lastUpdatedTime = std::chrono::duration_cast<std::chrono::seconds>(std::chrono::system_clock::now().time_since_epoch()).count();
|
||||
Database::Get()->UpdateLastSave(info);
|
||||
// Its models may be made now (the UGC setting queue_on_property_save makes only queued ones)
|
||||
Database::Get()->QueuePropertyUgcModels(propertyId);
|
||||
DashboardNotify::Changed("properties", propertyId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user