fix: bug que feia que en el editor, al canviar d'habitació el renderInfo tornara a eixir
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user