diff --git a/src/common/scripting/core/types.cpp b/src/common/scripting/core/types.cpp index 702277e89..3054335ac 100644 --- a/src/common/scripting/core/types.cpp +++ b/src/common/scripting/core/types.cpp @@ -2603,7 +2603,7 @@ template static bool PMapValueReader(FSerializer &ar, M *map, const PMap *m) { const char * k; - while(k = ar.GetKey()) + while((k = ar.GetKey())) { typename M::ValueType * val; if constexpr(std::is_same_v)