Skip to content

Commit

Permalink
fix: work with swift 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
literalpie committed Jun 13, 2021
1 parent 1c25cc4 commit 4f38f15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict/>
<dict>
<key>45525A64244C7FD4004974AB</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Wonky Blocks/UI/GameViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class WonkyGameViewController: UIViewController, SKSceneDelegate {
lastUpdateTime = currentTime

if !gameState.paused {
physicsController.handleKeyEvents(delta: delta)
physicsController.handleKeyEvents(delta: CGFloat(delta))
}
}

Expand Down

0 comments on commit 4f38f15

Please sign in to comment.