This commit is contained in:
@clasher113
2024-03-23 18:10:15 +02:00
parent cc367ee206
commit f0153eb51e
7 changed files with 76 additions and 67 deletions
+1 -2
View File
@@ -104,8 +104,7 @@ std::shared_ptr<UINode> create_debug_panel(
glm::vec3 position = player->hitbox->position;
position[ax] = std::stoi(text);
player->teleport(position);
} catch (std::invalid_argument& _){
} catch (std::out_of_range & _) {
} catch (std::exception& _){
}
});
box->setOnEditStart([=](){