Skip to content

Commit

Permalink
fix check of meta socket gems (#4123)
Browse files Browse the repository at this point in the history
Co-authored-by: Owen McCabe <omccabe@MBP16inch2021.localdomain>
  • Loading branch information
omccabe and Owen McCabe committed Jan 4, 2024
1 parent 4b32226 commit 0ab4c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/core/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ func ColorIntersects(g proto.GemColor, o proto.GemColor) bool {
return true
}
if g == proto.GemColor_GemColorMeta {
return o == proto.GemColor_GemColorUnknown
return o == proto.GemColor_GemColorMeta
}
if g == proto.GemColor_GemColorRed {
return o == proto.GemColor_GemColorOrange || o == proto.GemColor_GemColorPurple
Expand Down

0 comments on commit 0ab4c3c

Please sign in to comment.