Clean up comments

This commit is contained in:
Otto 2024-08-11 10:04:21 +03:00
parent 0eee56f66c
commit fdebd1c9c5
2 changed files with 1 additions and 8 deletions

View file

@ -85,7 +85,7 @@ impl INode for Config {
self.resolution_scale = config.get_value(GString::from("graphics"), GString::from("resolution_scale")).to::<f32>(); self.resolution_scale = config.get_value(GString::from("graphics"), GString::from("resolution_scale")).to::<f32>();
} }
if !editor_hint { if !editor_hint {
// THIS CHECK IS VERY IMPORTANT!!! I don't want to fuck my godot up again by resizing the editor and moving it out of bounds.. // THIS CHECK IS VERY IMPORTANT!!! I don't want to screw my godot up again by resizing the editor and moving it out of bounds..
Self::apply_video_settings(self); Self::apply_video_settings(self);
} }
} }

View file

@ -77,8 +77,6 @@ impl ILabel for ScramblingText {
return false return false
} }
// Self::set_text(self, GString::from(self.original_text.clone().unwrap()))
} }
fn enter_tree(&mut self) { fn enter_tree(&mut self) {
@ -86,17 +84,12 @@ impl ILabel for ScramblingText {
self.original_text = Some(text.to_string()); self.original_text = Some(text.to_string());
} }
//TODO: THIS IS RETARDED:::::: PLEASE FIX BRUHHH
fn process(&mut self, delta: f64) { fn process(&mut self, delta: f64) {
if self.scrambling { if self.scrambling {
let original_text = self.original_text.clone().unwrap(); let original_text = self.original_text.clone().unwrap();
let duration = self.duration; let duration = self.duration;
let speed = self.speed; let speed = self.speed;
// godot_print!("{}", Engine::singleton().is_editor_hint());
self.time_since_scramble += delta; self.time_since_scramble += delta;
self.time_since_step += delta; self.time_since_step += delta;