[Bug Fix] Fix typo when updating spawn events in spawn condition manager (#4160)

This commit is contained in:
JJ 2024-03-05 02:44:38 -08:00 committed by GitHub
parent add0a8dddf
commit 1be9b2cdfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -807,7 +807,7 @@ void SpawnConditionManager::UpdateSpawnEvent(SpawnEvent &event)
e.next_month = event.next.month;
e.next_year = event.next.year;
e.enabled = event.enabled ? 1 : 0;
e.next_minute = event.strict;
e.strict = event.strict ? 1 : 0;
SpawnEventsRepository::UpdateOne(database, e);
}