From af18ee7ae142a083e17f0125d89585d681d4e356 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 8 Oct 2021 11:28:52 +0200 Subject: [PATCH] intra:: become() now adds more spaces if called inside intra --- intra.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/intra.cpp b/intra.cpp index 3ce9aa68..1e6b65af 100644 --- a/intra.cpp +++ b/intra.cpp @@ -364,6 +364,13 @@ EX void connect_portal(cellwalker cw1, cellwalker cw2, int spin) { /** make currentmap into one of the spaces in intra */ EX void become() { + if(intra::in) { + /* let them add more spaces in this case */ + data[current].gd.storegame(); + intra::in = false; + return; + } + check_cgi(); cgi.require_shapes(); auto& ac = currentmap->allcells();