diff options
-rw-r--r-- | serialize/savegame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/savegame.cpp b/serialize/savegame.cpp index 69d50183..42b6fd6d 100644 --- a/serialize/savegame.cpp +++ b/serialize/savegame.cpp @@ -1016,7 +1016,7 @@ ok: { using magic_type = std::decay_t<decltype(object_magic)>; magic_type magic; - r(magic); + visit(magic, r); fm_soft_assert(magic == object_magic); (void)read_object(&c, r); } |