mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-01-28 13:26:48 +00:00
Map System Equip fix (#185)
Changing map key enable from hardcoded to item 2 to the actual vanilla behavior of checking for equip flag.
This commit is contained in:
parent
0a7fd4dc47
commit
510442490e
|
@ -1531,7 +1531,7 @@ impl GameScene {
|
|||
self.inventory_player1.current_item = 0;
|
||||
state.textscript_vm.set_mode(ScriptMode::Inventory);
|
||||
self.player1.cond.set_interacted(false);
|
||||
} else if self.player1.controller.trigger_map() && self.inventory_player1.has_item(2) {
|
||||
} else if self.player1.controller.trigger_map() && self.player1.equip.has_map() {
|
||||
state.textscript_vm.state = TextScriptExecutionState::MapSystem;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue