This commit is contained in:
Frank Skare
2019-03-21 18:30:10 +01:00
parent fc3dd45b72
commit 4366c47a09
9 changed files with 189 additions and 164 deletions

View File

@@ -51,8 +51,8 @@ namespace RatingAddon
if (args?.Length != 2 || args[0] != "rate-file" || ! int.TryParse(args[1], out rating))
return;
Dic[mp.GetStringProp("path")] = rating;
mp.Command("show-text", $"Rating: {rating}");
Dic[mp.get_property_string("path")] = rating;
mp.commandv("show-text", $"Rating: {rating}");
}
}
}