Marco15453-Archived / UIURescueSquad

EXILED [SCP:SL] Plugin that adds a new GOI to the game [FBI/UIU]
7 stars 11 forks source link

Fixed tinybrain mistakes #5

Closed Michal78900 closed 3 years ago

Michal78900 commented 3 years ago

So basically I don't know what happend but in plugin's code there was this:

if (plugin.Config.AnnouncementText != null)
{
       if (plugin.Config.AnnouncementText != null && plugin.Config.AnnouncementText != null)
       {
              Map.ClearBroadcasts();
              Map.Broadcast(plugin.Config.AnnouncementTime, plugin.Config.AnnouncementText);
       }
}

Also I've moved respawns++ to higher to prevent Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index error from occuring

Changad the delay in SH support from 1 second to 0.1 second which I hope will improve working with Respawn Timer

Michal78900 commented 3 years ago

Ignore this pull request please I've made a terrible mistake