diff options
author | HampusM <hampus@hampusmat.com> | 2025-04-22 18:07:44 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-04-22 18:07:44 +0200 |
commit | f6baed4c29df1fe048e3045e63db74a3623a6b5e (patch) | |
tree | fd1ff8a09412cc7d0817bd1561778fad60282e2d /engine/src/lib.rs | |
parent | fb47933690dfb54206e9f136902671b19ddd34e0 (diff) |
refactor(engine): make Engine::start take mut self
Diffstat (limited to 'engine/src/lib.rs')
-rw-r--r-- | engine/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/src/lib.rs b/engine/src/lib.rs index e05808f..7bf0368 100644 --- a/engine/src/lib.rs +++ b/engine/src/lib.rs @@ -104,7 +104,7 @@ impl Engine } /// Runs the event loop. - pub fn start(&self) + pub fn start(&mut self) { self.world.start_loop(); } |