# HG changeset patch # User Sam # Date 1684945865 -25200 # Node ID 772d8af8f1261825d8839afdab6101563994fdbf # Parent 9cbd9780ff6540a5cf14e76682e317892be83cd8 fix: issue with relese build diff -r 9cbd9780ff65 -r 772d8af8f126 src/semicongine/settings.nim --- 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()