Project Hospital
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
iazlur
intern
Posts : 3
Reputation : 2
Join date : 2021-10-04

[RESOLVED] Doctors are going on wrong water dispenser. Empty [RESOLVED] Doctors are going on wrong water dispenser.

Mon Oct 04, 2021 3:28 pm
[RESOLVED] Doctors are going on wrong water dispenser. Bugpro10
Attachments
[RESOLVED] Doctors are going on wrong water dispenser. Attachment
output_log.txt You don't have permission to download attachments.(84 Kb) Downloaded 0 times
[RESOLVED] Doctors are going on wrong water dispenser. Attachment
GrosseHospit.zip You don't have permission to download attachments.(1.5 Mb) Downloaded 2 times
avatar
8or8tion
intern
Posts : 6
Reputation : 0
Join date : 2021-09-25

[RESOLVED] Doctors are going on wrong water dispenser. Empty Re: [RESOLVED] Doctors are going on wrong water dispenser.

Sun Oct 10, 2021 6:10 am
It looks like the game assigns the nearest object as the crow flies before doing routing. This is probably a programming choice to reduce the number of calculation steps in the pathfinding algorithm.
jan.oxymoron
jan.oxymoron
developer
Posts : 2237
Reputation : 325
Join date : 2018-03-23

[RESOLVED] Doctors are going on wrong water dispenser. Empty Re: [RESOLVED] Doctors are going on wrong water dispenser.

Mon Oct 11, 2021 2:51 pm
Hi, thanks for spotting this! The game generally uses the path distance when evaluating which objects to use, but in this case it seems the system was still falling back to a simple geometric distance.

Let me check possible performance implications, but after quickly testing the change, it will probably make its way to the next update.

Also, it's probably worth mentioning that a similar situation can sometimes still happen when another employee decides to use an object in one of the doctor's offices (for example if they don't have one of their own), but it shouldn't be happening regularly.
Sponsored content

[RESOLVED] Doctors are going on wrong water dispenser. Empty Re: [RESOLVED] Doctors are going on wrong water dispenser.

Back to top
Permissions in this forum:
You cannot reply to topics in this forum