ShootMe / CelesteTAS

Simple TAS tools for the game Celeste
79 stars 14 forks source link

Suggestion: document how to disable stat tracking #3

Closed BenLubar closed 6 years ago

BenLubar commented 6 years ago

I don't want to poison my achievements and stats from running or recording a TAS, so I made the following changes:

Celeste.Achievements.Register: replace if statement condition:

public static void Register(Achievement achievement)
{
    if (Achievements.Has(achievement) || TAS.Manager.Recording || TAS.Manager.Running)
    {

Celeste.Stats.Increment: replace if statement condition:

public static void Increment(Stat stat, int increment = 1)
{
    if (Stats.ready && !TAS.Manager.Recording && !TAS.Manager.Running)
    {
ShootMe commented 6 years ago

Added info to the WhatsModified.txt document