diff --git a/pets-lib/src/dialogue/dbox/mod.rs b/pets-lib/src/dialogue/dbox/mod.rs index b5b22a0d..f0b31b1a 100644 --- a/pets-lib/src/dialogue/dbox/mod.rs +++ b/pets-lib/src/dialogue/dbox/mod.rs @@ -10,8 +10,7 @@ //! how much I care anymore. //! -use dialogical::{DialogueChoice, DialogueEnding, Interaction, Label, Metaline, PageMeta, Speaker}; - +use dialogical::prelude::*; use godot::engine::{ HBoxContainer, IPanelContainer, InputEvent, PanelContainer, RichTextLabel, Tween, }; diff --git a/pets-lib/src/util.rs b/pets-lib/src/util.rs index 653f7b72..d09695d3 100644 --- a/pets-lib/src/util.rs +++ b/pets-lib/src/util.rs @@ -8,8 +8,6 @@ use godot::prelude::*; /// takes a bbcode string and prepends or removes it from the label text pub fn bbcode_toggle(mut node: Gd, bbcode: &str, active: bool) { - // TODO maybe there's a way to slice directly from the GString? - // waiting for a reply to my "noob question" thread on discord... let old_text = node.get_text().to_string(); let new_text = prefix_mod(&old_text, bbcode, active);