public function onEndMapStart($count, $time, $restarted, Map $map)
    {
        if ($this->enabled->get() == false) {
            return;
        }

        if (!$restarted) {
            $this->setRecords();
        }
    }
public function onEndMapStart($count, $time, $restarted, Map $map)
    {
        if ($this->enabled->get() == false) {
            return;
        }

        if (!$restarted) {
            $this->setRecords();
        }
    }
public function onEndMapStart ( $ count , $ time , $ restarted , Map $ map ) { if ( $ this -> enabled -> get ( ) == false ) { return ; } if ( ! $ restarted ) { $ this -> setRecords ( ) ; } }
Callback sent when the "EndMap" section start.

@param int     $count Each time this section is played, this number is incremented by one
@param int     $time Server time when the callback was sent
@param boolean $restarted true if the map was restarted, false otherwise
@param Map     $map Map started with.

@return void
Callback sent when the EndMap section start .