From 6614ea639414caab546091841bf920fe6459cc9e Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Mon, 2 Sep 2019 18:23:09 -0400 Subject: json entity saving: cout --- src/components/Script.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/components/Script.hpp') diff --git a/src/components/Script.hpp b/src/components/Script.hpp index b3c89f3..178c933 100644 --- a/src/components/Script.hpp +++ b/src/components/Script.hpp @@ -21,7 +21,7 @@ #include "Component.hpp" -struct Scripted : Component, entityx::Component +struct Scripted : Component { public: sol::table caller; @@ -60,6 +60,9 @@ public: if (caller["RenderIdle"] == sol::type::function) caller["RenderIdle"](caller); } + + void serialize([[maybe_unused]] cereal::JSONOutputArchive& ar) final {} + void serialize([[maybe_unused]] cereal::JSONInputArchive& ar) final {} }; #endif // COMPONENT_SCRIPT_HPP_ -- cgit v1.2.3