Modified fire function to return value to determine whether or not the fire occurred.