mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-23 06:29:38 +00:00
1b286f5518
## Description: Adds two fields to an Embargo : - `createdAt` : the tick at which it was created - `willExpire` : whether the embargo will expire on its own An embargo will remove itself only if the player didn't intentionally set it. It expires either when an alliance is made, or if enough time has passed (according to the `embargoDuration` config entry). I put 5 minutes for `embargoDuration` by default, which seems reasonable to me. closes #702 ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: leo21_