From 6c35bd16f254f687f2b415234e36b13f0f8897a8 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 13 Nov 2024 18:47:18 +0100 Subject: fix unit tests --- src/test/ScriptTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/ScriptTest.cpp') diff --git a/src/test/ScriptTest.cpp b/src/test/ScriptTest.cpp index bab9e52..19fef6d 100644 --- a/src/test/ScriptTest.cpp +++ b/src/test/ScriptTest.cpp @@ -36,7 +36,7 @@ public: void SetUp() override { auto & mgr = this->component_manager; - GameObject & entity = mgr.new_object("name"); + GameObject entity = mgr.new_object("name"); BehaviorScript & component = entity.add_component(); this->behaviorscript_ref = &component; -- cgit v1.2.3