Resource deduction fixed

In the event resources are spent greater than the remaining total, it
will default to the remaining total (which will usually be zero).