mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-09 23:39:40 +07:00

* Added rate limit handling to dropbox + some refactor to make the whole file one object * Added error messages on rate limit reached + refactored some popup code to reduce repetition * Fixed merge error * Made variables private * Fixed file upload not working because of missing override flag for dropbox * Stop multiplayer refresher if rate limit reached * Fixed typo * Various code changes/fixes - ErrorResponse var name has to be `error` because that's how DropBox's json property is named - Change FileStorageRateLimitReached exception to store the seconds remaining as its own property instead of in the message - Use toIntOrNull to avoid setting defaults in two places * Fixed missed exception message Co-authored-by: Azzurite <azzurite@gmail.com>