Mercurial > games > semicongine
changeset 720:96976d3d5364
fix: issue with relese build
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 24 May 2023 23:31:05 +0700 |
parents | f52bac7a1c73 |
children | 5752102b1eb7 |
files | src/semicongine/settings.nim |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/semicongine/settings.nim Wed May 24 23:24:52 2023 +0700 +++ b/src/semicongine/settings.nim Wed May 24 23:31:05 2023 +0700 @@ -79,8 +79,9 @@ proc hadConfigUpdate*(): bool = result = false - while notifyConfigUpdate.peek() > 0: - result = true + when CONFIGHOTRELOAD == true: + while notifyConfigUpdate.peek() > 0: + result = true allsettings = loadAllConfig()