From 88ac4197787086487a199c5af7d0f143ddc42432 Mon Sep 17 00:00:00 2001 From: max-001 Date: Tue, 17 Dec 2024 12:22:34 +0100 Subject: Fixed typo --- src/example/GameScene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/example/GameScene.cpp') 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(vec2(INFINITY, 200)); - GameObject start_game_scritp = new_object("start_game_script", "script", vec2(0, 0)); - start_game_scritp.add_component().set_script(); + GameObject start_game_script = new_object("start_game_script", "script", vec2(0, 0)); + start_game_script.add_component().set_script(); } string GameScene::get_name() const { return "scene1"; } -- cgit v1.2.3