diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-12 19:02:40 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-12 19:02:40 +0100 |
commit | 45f1f18c78e73280a8a861df2db6237bae6f6d80 (patch) | |
tree | 78468b25ea85b3582fc4eab296142efd6a0dd92f /src/crepe/Component.cpp | |
parent | f34daa492c30a0d28b747817a9f2d6fb0186cf80 (diff) |
add script api for replaymanager
Diffstat (limited to 'src/crepe/Component.cpp')
-rw-r--r-- | src/crepe/Component.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/Component.cpp b/src/crepe/Component.cpp index 8086492..1aed507 100644 --- a/src/crepe/Component.cpp +++ b/src/crepe/Component.cpp @@ -5,7 +5,8 @@ using namespace std; Component::Component(game_object_id_t id) : game_object_id(id) {} -Component & Component::operator=(const Component &) { +Component & Component::operator=(const Component & other) { + this->active = other.active; return *this; } |