fix: bug que feia que en el editor, al canviar d'habitació el renderInfo tornara a eixir

This commit is contained in:
2026-04-02 19:55:28 +02:00
parent cccb2359cf
commit cea5492abc
3 changed files with 21 additions and 12 deletions

View File

@@ -570,6 +570,7 @@ static auto changeRoomWithEditor(const std::string& room_file) -> std::string {
// Si el editor está activo, salir primero (guarda y recarga la room actual)
if (EDITOR_WAS_ACTIVE && GameControl::exit_editor) {
MapEditor::get()->setReenter(true);
GameControl::exit_editor();
}