mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-05 07:16:18 +00:00
Add lots of memory safety to client interface
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
void WebsocketInit();
|
||||
std::string GetPlayers(){
|
||||
std::string Return;
|
||||
for(Client* c : CI->Clients){
|
||||
for(auto& c : CI->Clients){
|
||||
if(c != nullptr){
|
||||
Return += c->GetName() + ";";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user