aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/example/GameScene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example/GameScene.cpp b/src/example/GameScene.cpp
index 3b1629d..2c1f989 100644
--- a/src/example/GameScene.cpp
+++ b/src/example/GameScene.cpp
@@ -166,8 +166,8 @@ void GameScene::load_scene() {
});
ceiling.add_component<BoxCollider>(vec2(INFINITY, 200));
- GameObject start_game_scritp = new_object("start_game_script", "script", vec2(0, 0));
- start_game_scritp.add_component<BehaviorScript>().set_script<StartGameScript>();
+ GameObject start_game_script = new_object("start_game_script", "script", vec2(0, 0));
+ start_game_script.add_component<BehaviorScript>().set_script<StartGameScript>();
}
string GameScene::get_name() const { return "scene1"; }