From 063caa51f93867b094519b78ed895526673c9fc4 Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Sun, 11 Jul 2021 17:12:24 +0200 Subject: [PATCH] This too --- src/game/scripting/array.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/game/scripting/array.cpp b/src/game/scripting/array.cpp index ce30cb4..df3e22c 100644 --- a/src/game/scripting/array.cpp +++ b/src/game/scripting/array.cpp @@ -50,6 +50,12 @@ namespace scripting { } + array::array(array&& other) noexcept + { + this->id_ = other.id_; + other.id_ = 0; + } + array::array() { this->id_ = make_array();