diff options
-rw-r--r-- | sky/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/debug.cpp b/sky/debug.cpp index c1dd9cd016..54fb33519f 100644 --- a/sky/debug.cpp +++ b/sky/debug.cpp @@ -1469,7 +1469,7 @@ bool Debugger::Cmd_Section(int argc, const char **argv) { int section = atoi(argv[1]); if (section >= 0 && section <= 6) { - _logic->fnEnterSection(section % 6, 0, 0); + _logic->fnEnterSection(section == 6 ? 4 : section, 0, 0); _logic->fnAssignBase(ID_FOSTER, baseId[section], 0); SkyEngine::fetchCompact(ID_FOSTER)->extCompact->megaSet = 0; } else { |