Forgot to clear the dictionary after each check. We don't want it revert ALL changes do we.
This commit is contained in:
parent
39edac96b0
commit
974dbc2424
1 changed files with 2 additions and 0 deletions
|
|
@ -517,10 +517,12 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
players[i].tileThreshold = 0;
|
players[i].tileThreshold = 0;
|
||||||
|
players[i].tilesDestroyed.Clear();
|
||||||
}
|
}
|
||||||
else if (players[i].tileThreshold > 0)
|
else if (players[i].tileThreshold > 0)
|
||||||
{
|
{
|
||||||
players[i].tileThreshold = 0;
|
players[i].tileThreshold = 0;
|
||||||
|
players[i].tilesDestroyed.Clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue