Fix cost of city in chat
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
4ab1aa9220
commit
2b0b8f3465
@ -2320,7 +2320,7 @@ router.put("/:id/:action/:value?", async (req, res) => {
|
|||||||
player.cities--;
|
player.cities--;
|
||||||
player.settlements++;
|
player.settlements++;
|
||||||
if (!game.turn.free) {
|
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.wheat -= 2;
|
||||||
player.stone -= 3;
|
player.stone -= 3;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user