diff options
Diffstat (limited to 'src/test/ScriptTest.cpp')
-rw-r--r-- | src/test/ScriptTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<BehaviorScript>(); this->behaviorscript_ref = &component; |