Team-Silver-Sphere / SquadJS

Squad Server Script Framework
Boost Software License 1.0
166 stars 125 forks source link

Fix error when an admin leaves admin camera without being on the list of admins in admin camera for whatever reason #239

Closed ect0s closed 2 years ago

ect0s commented 2 years ago

We may miss admins going into camera in the case of RCON shutdowns/SquadJS restarts.

This code should guard a promise rejection in the case an admin is not in the current tracking list.