]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/net_notice.qc
Add a new key to override the initial item respawn delay
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / net_notice.qc
index 06f310799423f05c635f263e76e74b35225e8f75..59061e5a97c99b257e879ccdd5084bcc7c1521ca 100644 (file)
@@ -30,10 +30,7 @@ void sv_notice_to(entity _to, string _notice, float _howlong, float _modal)
 
 void sv_notice_toall(string _notice, float _howlong, float _modal)
 {
-    entity _head;
-    FOR_EACH_REALCLIENT(_head)
-        sv_notice_to(_head, _notice, _howlong, _modal);
-
+    FOREACH_CLIENT(IS_REAL_CLIENT(it), LAMBDA(sv_notice_to(it, _notice, _howlong, _modal)));
 }
 
 #endif // SVQC