Skip to content

Commit

Permalink
Update time check
Browse files Browse the repository at this point in the history
Admiral-Fish committed Apr 9, 2023
1 parent 09a01aa commit 9d8d55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Gen4/Encounters4.cpp
Original file line number Diff line number Diff line change
@@ -262,7 +262,7 @@ static void modifySwarmHGSS(std::vector<Slot> &pokemon, const WildEncounterHGSS
static void modifyTimeHGSS(std::vector<Slot> &pokemon, const WildEncounterHGSS *entry, const PersonalInfo *info, Encounter encounter,
int time)
{
if (time != 0 || time != 1)
if (time != 0 && time != 1)
{
return;
}

0 comments on commit 9d8d55c

Please sign in to comment.