]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix spectator only announcers
authorz411 <z411@omaera.org>
Fri, 23 Apr 2021 20:15:56 +0000 (16:15 -0400)
committerz411 <z411@omaera.org>
Fri, 23 Apr 2021 20:15:56 +0000 (16:15 -0400)
qcsrc/common/notifications/all.qc

index f992411174980131f4254bf769b0d40e5ed87533..ff3644d34edcd7c4362c1acb4a28397e0884d9e9 100644 (file)
@@ -135,7 +135,7 @@ bool Notification_ShouldSend(NOTIF broadcast, entity to_client, entity other_cli
                        );
                case NOTIF_ALL_SPEC:
                        return (
-                               (IS_SPEC(to_client))
+                               (IS_SPEC(to_client) || IS_OBSERVER(to_client))
                        );
                case NOTIF_ALL:
                        return true;