Replace = with ==

This was my mistake; I didn't test it thoroughly. It results in all g2 mappings being broken!