aboutsummaryrefslogtreecommitdiff
path: root/src/example/StartGameScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/example/StartGameScript.cpp')
-rw-r--r--src/example/StartGameScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/StartGameScript.cpp b/src/example/StartGameScript.cpp
index 00f419d..50ba86c 100644
--- a/src/example/StartGameScript.cpp
+++ b/src/example/StartGameScript.cpp
@@ -7,7 +7,7 @@
using namespace crepe;
using namespace std;
-void StartGameScript::update() {
+void StartGameScript::fixed_update(crepe::duration_t dt) {
Transform & player_transform = this->get_components_by_name<Transform>("player").front();
// Create hole in wall and activate panic lamp