diff --git a/tngame-rs/src/main.rs b/tngame-rs/src/main.rs index 1493a7f..b6dbd38 100644 --- a/tngame-rs/src/main.rs +++ b/tngame-rs/src/main.rs @@ -467,7 +467,7 @@ async fn pull_input(mt: Arc>, cn: &Consts) -> Result<()> { { let mut mt = mt.lock().await; let mut move_x = |amount: i32| { - mt.x = (mt.x + amount).max(0).min((mt.w - cn.asc_cat.w)); + mt.x = (mt.x + amount).max(0); if mt.state == State::Welcome { mt.state = State::Exploring; }