This commit is contained in:
ntr committed 2023-08-15 16:45:13 +10:00
1 parent fddf8552c2
commit 0e8a7a65ad
2 files changed
+16 -6

No files matched your search

+3
View File
@@ -56,6 +56,9 @@ public class ShipControls : MonoBehaviour {
// to minimise input lag we poll for the thrust vector every frame and set it
// same with the camera, we always look around
void Update() {
// hot reloading fks up the input
if (input == null) Start();
UpdateCamera();
thrust = getThrust();
}