Skip to content

Commit

Permalink
Update RocketSim
Browse files Browse the repository at this point in the history
  • Loading branch information
VirxEC committed Jun 3, 2024
1 parent 43a6e06 commit b2e4bdf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rocketsim_rs"
description = "Rust bindings for the RocketSim project"
version = "0.29.4"
version = "0.30.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/VirxEC/rocketsim-rs"
Expand Down
1 change: 1 addition & 0 deletions src/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ impl MutatorConfig {
unlimited_double_jumps: false,
demo_mode: DemoMode::Normal,
enable_team_demos: false,
goal_base_threshold_y: consts::SOCCAR_GOAL_SCORE_BASE_THRESHOLD_Y,
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/sim/mutator_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ mod base {
unlimited_double_jumps: bool,
demo_mode: DemoMode,
enable_team_demos: bool,
/// Only used if the game mode has soccar goals (i.e. soccar, heatseeker, snowday)
goal_base_threshold_y: f32,
}
}

Expand Down

0 comments on commit b2e4bdf

Please sign in to comment.