Fix
This commit is contained in:
@@ -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([=](){
|
||||
|
||||
Reference in New Issue
Block a user