Browse Source

fix currlevel in map command

pull/2760/head
qndel 5 years ago committed by Anders Jenbo
parent
commit
96d784912f
  1. 2
      Source/debug.cpp

2
Source/debug.cpp

@ -193,6 +193,8 @@ std::string DebugCmdLoadMap(const string_view parameter)
setlevel = false;
setlvltype = quest._qlvltype;
currlevel = quest._qlevel;
myPlayer.plrlevel = quest._qlevel;
StartNewLvl(MyPlayerId, WM_DIABSETLVL, level);
return fmt::format("Welcome to {}.", QuestLevelNames[level]);
}

Loading…
Cancel
Save