Closed sumghai closed 4 years ago
Updated issue title to include other situations impacting performance (e.g. multiple MedPods running concurrently, or a patient with a large number of hediffs).
f7bddc2 should hopefully fix the issue. Waiting on feedback from beta testers.
Stormtail (via Discord) reports that the lag is completely gone in the dev build.
Waiting for more feedback from other beta testers.
While a MedPod is running a diagnosis and treatment cycle, if the game speed is increased to 3x or above, the frame rate often drops from 60 to ~15 FPS. The effect is more apparent if multiple MedPods are running, or if a patient has a large number of hediffs.
Perhaps
Building_BedMedPod
'sTick()
method needs to be optimized.