mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
NowPlaying.dll: Fixed that PlayerType=COVER did not work when PlayerName was changed with !SetOption/!SetVariable
This commit is contained in:
@ -197,6 +197,8 @@ PLUGIN_EXPORT void Reload(void* data, void* rm, double* maxValue)
|
||||
|
||||
if (oldPlayer)
|
||||
{
|
||||
parent->player->SetMeasures(oldPlayer->GetMeasures());
|
||||
|
||||
// Remove instance here so that player doesn't have to reinitialize if PlayerName was
|
||||
// not changed.
|
||||
oldPlayer->RemoveInstance();
|
||||
|
Reference in New Issue
Block a user