Hello, I've found a bug when spawning units. I noticed that when a player spawns a peasant unit, the player would receive huge amounts of stone (either negative or positive amounts):
Cost for creating a peasant unit:
400, 0, 556288460
gold, lumber, stone
Finally found the cause for the bug, it seems to be a logical error where stoneCost is never initialized because of several spelling errors, causing random values for all available units.
Hello, I've found a bug when spawning units. I noticed that when a player spawns a peasant unit, the player would receive huge amounts of stone (either negative or positive amounts):
Cost for creating a peasant unit: 400, 0, 556288460 gold, lumber, stone
Finally found the cause for the bug, it seems to be a logical error where stoneCost is never initialized because of several spelling errors, causing random values for all available units.