From 33f22b65c27c3c9b162fe7a67b531cb192518fda Mon Sep 17 00:00:00 2001 From: Lincoln-LM Date: Mon, 10 Jan 2022 17:38:32 -0700 Subject: [PATCH] correct timeline npc settings --- src/player_blink_gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/player_blink_gui.py b/src/player_blink_gui.py index f2a95e8..386b4c5 100644 --- a/src/player_blink_gui.py +++ b/src/player_blink_gui.py @@ -141,7 +141,7 @@ class Application(tk.Frame): self.adv_del_2.grid(column=5,row=8) self.npc = tk.Spinbox(self, from_= 0, to = 999, width = 5, increment=1) self.npc.grid(column=5,row=9) - self.timeline_npc = tk.Spinbox(self, from_= 0, to = 999, width = 5, increment=1) + self.timeline_npc = tk.Spinbox(self, from_= -1, to = 999, width = 5, increment=1) self.timeline_npc.grid(column=5,row=10) self.pokemon_npc = tk.Spinbox(self, from_= 0, to = 999, width = 5, increment=1) self.pokemon_npc.grid(column=5,row=11) @@ -502,7 +502,7 @@ class Application(tk.Frame): self.advances += self.config_json["advance_delay"] print("blink timeline started") queue = [] - for _ in range(self.config_json["timeline_npc"]): + for _ in range(self.config_json["timeline_npc"]+1): heapq.heappush(queue, (waituntil+1.017,0)) for _ in range(self.config_json["pokemon_npc"]): blink_int = self.rng.rangefloat(3,12) + 0.285