profile debug works on any profile
This commit is contained in:
@@ -674,8 +674,8 @@ Chaos=Chaos
|
|||||||
Characters=Characters
|
Characters=Characters
|
||||||
Choose=Choose
|
Choose=Choose
|
||||||
Clear Bookkeeping Data=Clear Bookkeeping Data
|
Clear Bookkeeping Data=Clear Bookkeeping Data
|
||||||
Clear Machine Edits=Clear Machine Edits
|
Clear Profile Edits=Clear Profile Edits
|
||||||
Clear Machine Stats=Clear Machine Scores
|
Clear Profile Stats=Clear Profile Scores
|
||||||
Clear area=Clear area
|
Clear area=Clear area
|
||||||
Coin Options=Coin Options
|
Coin Options=Coin Options
|
||||||
CoinMode=Coin\nMode
|
CoinMode=Coin\nMode
|
||||||
|
|||||||
@@ -746,7 +746,7 @@ class DebugLineClearProfileStats : public IDebugLine
|
|||||||
virtual RString GetPageName() const { return "Profiles"; }
|
virtual RString GetPageName() const { return "Profiles"; }
|
||||||
virtual void DoAndMakeSystemMessage( RString &sMessageOut )
|
virtual void DoAndMakeSystemMessage( RString &sMessageOut )
|
||||||
{
|
{
|
||||||
Profile* pProfile = PROFILEMAN->GetMachineProfile();
|
Profile *pProfile = PROFILEMAN->GetProfile( g_ProfileSlot );
|
||||||
pProfile->ClearStats();
|
pProfile->ClearStats();
|
||||||
IDebugLine::DoAndMakeSystemMessage( sMessageOut );
|
IDebugLine::DoAndMakeSystemMessage( sMessageOut );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user