mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-29 19:40:35 +00:00
intra:: become() now adds more spaces if called inside intra
This commit is contained in:
parent
11aa9d0ddd
commit
af18ee7ae1
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user