Fixing some bugs with the renderer discovered when trying to render Hakkoda (by request).

mountains_normal.png

hakkoda.jpeg

I use lodash a lot to do simple three line things that I can’t be bothered writing. However, this time it bit me. I tried to use merge() thinking that it would merge two dictionaries together and concat the values if the keys were the same. It did something weird. So instead, I wrote the three lines that I should of written at the start.

I don’t know what lessons it taught me, but it taught me something.