fix: use or instead of and for check
This commit is contained in:
parent
946f86f359
commit
ff272310e2
|
@ -212,7 +212,7 @@ namespace Tourist {
|
|||
ImGui.TextUnformatted("Eorzea time");
|
||||
ImGui.NextColumn();
|
||||
|
||||
if (adventure.MinTime != 0 && adventure.MaxTime != 0) {
|
||||
if (adventure.MinTime != 0 || adventure.MaxTime != 0) {
|
||||
ImGui.TextUnformatted($"{adventure.MinTime / 100:00}:00 to {adventure.MaxTime / 100 + 1:00}:00");
|
||||
} else {
|
||||
ImGui.TextUnformatted("Any");
|
||||
|
|
Loading…
Reference in New Issue