Disable try_mount function
This commit is contained in:
parent
ed83a2f364
commit
040e9df45e
|
|
@ -65,9 +65,9 @@ func set_locked(value : bool) -> void:
|
|||
if indicator: indicator.visible = value
|
||||
locked_changed.emit(value)
|
||||
|
||||
func try_mount(target_pokemon : PokemonData) -> bool:
|
||||
if !MountRegistry.can_mount_on(target_pokemon, MountProfile.Surface.GROUND):
|
||||
return false
|
||||
play_char.current_mount = target_pokemon
|
||||
transitioned.emit(self, "MountedState")
|
||||
return true
|
||||
#func try_mount(target_pokemon : PokemonData) -> bool:
|
||||
#if !MountRegistry.can_mount_on(target_pokemon, MountProfile.Surface.GROUND):
|
||||
#return false
|
||||
#play_char.current_mount = target_pokemon
|
||||
#transitioned.emit(self, "MountedState")
|
||||
#return true
|
||||
|
|
|
|||
Loading…
Reference in a new issue