Skip to content

Commit b45a8c9

Browse files
committed
Make async
1 parent f914000 commit b45a8c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/GateEngine/UI/ViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ open class ViewController {
7878

7979
//MARK: Game Loop
8080
internal func _update(withTimePassed deltaTime: Float) async {
81-
self.update(withTimePassed: deltaTime)
81+
await self.update(withTimePassed: deltaTime)
8282
for child in children {
8383
await child._update(withTimePassed: deltaTime)
8484
}
8585
}
8686

8787
/// Forwarded from this ViewController's view
88-
open func update(withTimePassed deltaTime: Float) {
88+
open func update(withTimePassed deltaTime: Float) async {
8989

9090
}
9191

0 commit comments

Comments
 (0)