# HG changeset patch # User Sam # Date 1684945865 -25200 # Node ID 96976d3d5364e42a4614fd8f6b748ba78c8358f4 # Parent f52bac7a1c7323879aa4c813299c85a7603fc28a fix: issue with relese build diff -r f52bac7a1c73 -r 96976d3d5364 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()