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