public void IncDecRepairs(bool val)
    {
        PlayerClass p = GlobalControl.control.GetCurrentPlayer();

        if (val)
        {
            p.AddRepair();
        }
        else if (p.GetRepairs() > 0)
        {
            p.SubtractRepair();
        }

        RepairText.text = "Repairs: " + p.GetRepairs().ToString();
    }