Fixed so gold amount is randomized when spawned from map editor.