Vigilante Justice now reduces wanted by a percentage to help players stuck with very high wanted level.

This commit is contained in:
Olivier Gagnon
2021-05-29 12:48:58 -04:00
parent 75b2806c93
commit 60d6d49c43
15 changed files with 29 additions and 39 deletions
-1
View File
@@ -181,7 +181,6 @@ export class BaseServer {
* @returns {IReturnStatus} Return status object indicating whether or not file was deleted
*/
removeFile(fn: string): IReturnStatus {
console.log(`removing ${fn}`);
if (fn.endsWith(".exe") || fn.match(/^.+\.exe-\d+(?:\.\d*)?%-INC$/) != null) {
for (let i = 0; i < this.programs.length; ++i) {
if (this.programs[i] === fn) {