Fixed PurgePlayerHolder getPoints when remaining keys is 0.

Contributed by Serenitty.
This commit is contained in:
MobiusDevelopment 2022-08-24 22:31:35 +00:00
parent 456162234e
commit bbd0f7f911
2 changed files with 8 additions and 0 deletions

View File

@ -34,6 +34,10 @@ public class PurgePlayerHolder
public int getPoints()
{
if (_remainingKeys == 0)
{
return 0;
}
return _points;
}

View File

@ -34,6 +34,10 @@ public class PurgePlayerHolder
public int getPoints()
{
if (_remainingKeys == 0)
{
return 0;
}
return _points;
}