-
This commit is contained in:
@@ -50,7 +50,7 @@ namespace RatingAddon
|
||||
//handles keys defined in input.conf
|
||||
void ClientMessage(string[] args)
|
||||
{
|
||||
if (args.Length != 2 || args[0] != "rate-file" || ! int.TryParse(args[1], out int rating))
|
||||
if (args[0] != "rate-file" || ! int.TryParse(args[1], out int rating))
|
||||
return;
|
||||
Dic[mp.get_property_string("path")] = rating;
|
||||
mp.commandv("show-text", $"Rating: {rating}");
|
||||
|
||||
Reference in New Issue
Block a user