This should work!
There are comments inside the project. The real problem is that the equals operation does not know what to do with a tilemap.
I did code this really fast so it might not be the best way, but it seems like it works and thats what matters.