Skip to content

Commit

Permalink
update cat tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
gmjosack committed Nov 8, 2022
1 parent 3e53f83 commit aa9bcd0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [0.7.2] - 2022-11-07

### Changed

- Carrying items through transitions no longer violates No%

## [0.7.1] - 2022-11-04

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "Apache 2"
name = "hd-toolbox"
repository = ""
rust-version = "1.57"
version = "0.7.1"
version = "0.7.2"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
14 changes: 0 additions & 14 deletions src-tauri/src/tasks/category.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ impl RunState {
self.update_has_item(gamestate);
self.update_held_item(gamestate);
self.update_used_item(prev_gamestate, gamestate);
self.update_no_transition(gamestate);
self.update_visited(gamestate);
self.update_max(gamestate);

Expand Down Expand Up @@ -420,19 +419,6 @@ impl RunState {
return false;
}

fn update_no_transition(&mut self, gamestate: &GameState) {
if gamestate.screen_state != ScreenState::LevelCompleted {
return;
}

if let Some(held_item) = &gamestate.player_held_entity {
if held_item.entity_type == EntityType::Player {
return;
}
self.run_labels.rm_label(&Label::No);
}
}

fn fail_chain_hell(&mut self) {
if self.chain_hell_failed {
return;
Expand Down

0 comments on commit aa9bcd0

Please sign in to comment.