mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-24 22:35:47 +02:00
Fixed Pokémon still encountering with debugwalk
This commit is contained in:
parent
6562aba3de
commit
aa982addbe
@ -92,7 +92,7 @@ Public Class PokemonEncounter
|
|||||||
If randomValue <= minEncounterValue Then
|
If randomValue <= minEncounterValue Then
|
||||||
' Don't encounter a Pokémon if the left control key is held down, for Debug or Sandbox Mode:
|
' Don't encounter a Pokémon if the left control key is held down, for Debug or Sandbox Mode:
|
||||||
If GameController.IS_DEBUG_ACTIVE = True Or Core.Player.SandBoxMode = True Then
|
If GameController.IS_DEBUG_ACTIVE = True Or Core.Player.SandBoxMode = True Then
|
||||||
If KeyBoardHandler.KeyDown(Keys.LeftControl) = True Then
|
If CType(Screen.Camera, OverworldCamera)._debugWalk = True Then
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
Loading…
x
Reference in New Issue
Block a user