remove endmatch data when append

This commit is contained in:
Beu 2022-01-05 00:57:59 +01:00
parent 993c3a770f
commit cb322ef83f

View File

@ -480,7 +480,7 @@ class MatchManagerGSheet implements CallbackListener, CommandListener, Plugin {
return; return;
} }
if ($this->currentdatamode == "All Rounds Data") { if ($this->currentdatamode == "All Rounds Data" && $this->matchstatus == "running") {
$newcurrentscore = []; $newcurrentscore = [];
foreach ($currentscore as $score) { foreach ($currentscore as $score) {