mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-08 17:57:02 +08:00
refactor: move movement logic into SpeedSystem and Entity components
This commit is contained in:
@@ -330,7 +330,7 @@ void Window::set_imgui_enabled(bool enable) {
|
||||
if (m_camera) {
|
||||
auto player = m_camera->player();
|
||||
if (player) {
|
||||
player->reset_key_status();
|
||||
player->reset_input_status();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user