2. In the daytime function, an if check is needed based on the GetObjectCreatures type, and if it returns 0, then the daytime resource increase from the mine should be subtracted from the total amount.
2. In the daytime function, an if check is needed based on the GetObjectCreatures type, and if it returns 0, then the daytime resource increase from the mine should be subtracted from the total amount.