Skip to content

Commit

Permalink
Fix missing return when parsing color from JSON array
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Sep 16, 2024
1 parent e03a487 commit 450fc3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions game_shared/json_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ bool UpdatePropertyFromJson(Color& color, Value& jsonValue, const char* key)
color.r = arr[0].GetInt();
color.g = arr[1].GetInt();
color.b = arr[2].GetInt();
return true;
}
}
return false;
Expand Down

0 comments on commit 450fc3c

Please sign in to comment.