Closed boofat closed 2 years ago
bool CanAddGhosts() {
return true;
// return Permissions::PlayRecords();
}
This seems wrong?
Edit: Oops sorry didn't mean to close
That was pulled out of a plugin that could add arbitrary ghosts where checking PlayRecords makes perfect sense, but with this plugin the only ghost added is a "Current race" one which seemed more analogous to a personal best. Though it's no problem to rework it and check permissions.
Oh I see. So w/o the permission you'd only be able to scrub through your PB ghost?
Either way, you should remove that function from the file (probably all of the unused functions in there too?) and not check the function at all anywhere else.
Yeah, your PB ghost or any others added externally (Records widget or through the menu.)
And sure, removed that function and a couple filename ones, but the rest is the same functionally: GhostScrubber.zip
Thanks for the changes! 👍 Sorry for the delay 😅
Plugin description
Allows you to seek ghosts while playing and view your current run. Only works in Solo mode.
https://openplanet.nl/files/136
Did you provide a
perms
meta value or a#perms
preprocessor option?no
Did you use
Permissions.as
?no
Attach your plugin
GhostScrubber.zip