DwarfCorp: Pushed a performance fix

Not much I can say about this one except that I'm dumb, and grab it ASAP.