v1.5.13 — no more frozen worlds, and the Dvergar discount works on the hammer
Two fixes. With factions on, a destroyed building could freeze every creature around it, and on a server that made the world unplayable. And the Dvergar now pay the metal cost the build menu shows them.
The world froze around a destroyed building
Since v1.5.11, when a mob was targeting one of your building pieces and that piece got destroyed or removed, the faction check kept reading the dead piece and threw an error every frame. That error stopped the AI of every creature after that mob. On a server the server runs the AI, so the whole area stood still: players slid on the ground, enemies froze in place, and characters sometimes turned invisible.
The check now notices the dead target, drops it and moves on. If you turned off Faction truce to work around it, you can turn it back on. Thanks to SCRIMSHAW and GaoVN for the reports, and to SCRIMSHAW for testing the fix on their server.
The Dvergar discount on the hammer
The Smithing and Jewelry discount already showed up in the build menu, a cauldron for 6 tin instead of 10, but the hammer still refused to place the piece unless you carried the full 10. Pieces now build at the price shown.
Dismantling or destroying a piece a Dvergar built returns the metal they actually paid, whoever breaks it. Pieces built by other races still return the full amount. Thanks to Balmarog for the report.