perf: harden runtime for weaker hardware
This commit is contained in:
@@ -18,8 +18,8 @@ func _run() -> void:
|
||||
simulation_manager.set_process(false)
|
||||
var saved_clock_ticks: int = simulation_manager.clock.elapsed_ticks
|
||||
simulation_manager.clock.elapsed_ticks = 0
|
||||
await process_frame
|
||||
await process_frame
|
||||
var day_night_cycle := main_scene.get_node("JajceWorld/DayNightCycle")
|
||||
day_night_cycle.call("_process", 0.11)
|
||||
var environment: Environment = (
|
||||
(main_scene.get_node("JajceWorld/WorldEnvironment") as WorldEnvironment).environment
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user