Fixed ai not gaining resources when gifting