Skip to content

Commit

Permalink
Small README fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
colonelpanic8 committed Jun 13, 2023
1 parent eebb226 commit b435276
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ fn get_json(filepath: std::path::PathBuf) -> anyhow::Result<String> {
.must_parse_network_data()
.on_error_check_crc()
.parse()?;
Ok(ReplayDataCollector::new()
Ok(subtr_actor::ReplayDataCollector::new()
.get_replay_data(&replay)
.map_err(|e| e.variant)?
.as_json()?)
Expand Down Expand Up @@ -139,9 +139,7 @@ bindings for other languages since those languages may not be able to access
rust structs an instantiate them easily or at all.

```rust
pub static DEFAULT_GLOBAL_FEATURE_ADDERS: [&str; 1] = ["
BallRigidBody"];
pub static DEFAULT_GLOBAL_FEATURE_ADDERS: [&str; 1] = ["BallRigidBody"];

pub static DEFAULT_PLAYER_FEATURE_ADDERS: [&str; 3] =
["PlayerRigidBody", "PlayerBoost", "PlayerAnyJump"];
Expand Down

0 comments on commit b435276

Please sign in to comment.