fix check

This commit is contained in:
13xforever 2020-03-15 01:02:30 +05:00
parent 99624d532f
commit 2f75ebf5c1
2 changed files with 6 additions and 3 deletions

View File

@ -575,7 +575,7 @@ namespace CompatBot.Utils.ResultFormatters
{ {
var frameLimit = items["frame_limit"]; var frameLimit = items["frame_limit"];
var vsync = items["vsync"] == EnabledMark; var vsync = items["vsync"] == EnabledMark;
if (ppuPatches.Count == 1) if (ppuPatches.Any() && ppuPatches.Values.Max() > 1)
{ {
if (frameLimit == "Off") if (frameLimit == "Off")
{ {

View File

@ -1,3 +1,7 @@
trigger:
- master
pr:
- master
jobs: jobs:
- job: BuildAndTest - job: BuildAndTest
displayName: 'Run tests' displayName: 'Run tests'
@ -86,5 +90,4 @@ jobs:
repository: $(DockerRegistry) repository: $(DockerRegistry)
command: 'buildAndPush' command: 'buildAndPush'
Dockerfile: 'Dockerfile' Dockerfile: 'Dockerfile'
tags: test-latest tags: test-latest