Skip to content

Commit 7cf6d25

Browse files
committed
allow boolean custom fields
1 parent 2370eb9 commit 7cf6d25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/gameanalytics/GAState.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ namespace gameanalytics
10371037
{
10381038
const json& value = fields[key];
10391039

1040-
if(value.is_number())
1040+
if(value.is_number() || value.is_boolean())
10411041
{
10421042
result[key] = value;
10431043
++count;

0 commit comments

Comments
 (0)