Пофиксите:
465 строку на это:
if(!buildingBlock.CanAffordUpgrade((BuildingGrade.Enum)Grade, 0, player))
513 строку на это:
if(!Block.CanAffordUpgrade(((BuildingGrade.Enum)DataPlayer[player.userID].GradeLevel), 0, player))
485 строку на это:
buildingBlock.PayForUpgrade(buildingBlock.blockDefinition.GetGrade((BuildingGrade.Enum)Data.GradeLevel, 0), player);
520 строку на это:
Block.PayForUpgrade(buildingBlock.blockDefinition.GetGrade((BuildingGrade.Enum)DataPlayer[player.userID].GradeLevel, 0), player);