Minor bug fix on a bug that allowed to automatically gain money without staff