1
0

Fix cost of city in chat

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2022-03-02 23:31:34 -08:00
parent 4ab1aa9220
commit 2b0b8f3465

View File

@ -2320,7 +2320,7 @@ router.put("/:id/:action/:value?", async (req, res) => {
player.cities--;
player.settlements++;
if (!game.turn.free) {
addChatMessage(game, session, `${session.name} spent 2 wheat, 1 stone to upgrade to a city.`)
addChatMessage(game, session, `${session.name} spent 2 wheat, 3 stone to upgrade to a city.`)
player.wheat -= 2;
player.stone -= 3;
}