From b73023e4168df20ddaafb300c9fde8933a35406a Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Sat, 22 Jul 2023 21:17:37 +0200 Subject: [PATCH] Forgot to actually set the pokedexdata --- P3D/World/ActionScript/V2/ScriptCommands/DoPokedex.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P3D/World/ActionScript/V2/ScriptCommands/DoPokedex.vb b/P3D/World/ActionScript/V2/ScriptCommands/DoPokedex.vb index b780f7c67..4a613270d 100644 --- a/P3D/World/ActionScript/V2/ScriptCommands/DoPokedex.vb +++ b/P3D/World/ActionScript/V2/ScriptCommands/DoPokedex.vb @@ -18,7 +18,7 @@ If argument.Split(",").Count > 2 Then ForceChange = CBool(argument.GetSplit(2, ",")) End If - Pokedex.ChangeEntry(Core.Player.PokedexData, argument.GetSplit(0, ","), CInt(argument.GetSplit(1, ",")), ForceChange) + Core.Player.PokedexData = Pokedex.ChangeEntry(Core.Player.PokedexData, argument.GetSplit(0, ","), CInt(argument.GetSplit(1, ",")), ForceChange) Case Else Logger.Log(Logger.LogTypes.Warning, "ScriptCommander.vb: (@pokedex." & command & ") Command not found.") End Select