aboutsummaryrefslogtreecommitdiff
path: root/core/src/data/game/game_runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/data/game/game_runtime.rs')
-rw-r--r--core/src/data/game/game_runtime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/data/game/game_runtime.rs b/core/src/data/game/game_runtime.rs
index 1c5a548..7ce1991 100644
--- a/core/src/data/game/game_runtime.rs
+++ b/core/src/data/game/game_runtime.rs
@@ -154,7 +154,7 @@ impl GameRuntime {
}
/// Pop an event message
- pub fn pop_event(&mut self) -> Option<(Account, ControlMessage)> {
+ pub fn pop_control_event(&mut self) -> Option<(Account, ControlMessage)> {
let pop = self.control.events.pop_front();
if pop.is_some() {
let (account, msg) = pop.unwrap();