]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/t_items.qc
Add a notification for picking up extra lives
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_items.qc
index 3f50424b50e3f8f11bfb605cbfbb652b71d8a2a9..40abd18b135fe920265d197357927a458308f990 100644 (file)
@@ -653,7 +653,7 @@ float Item_GiveTo(entity item, entity player)
                        // sound not available
                        // AnnounceTo(player, "_lives");
                        player.armorvalue = bound(player.armorvalue, 999, player.armorvalue + autocvar_g_minstagib_extralives);
-                       sprint(player, "^3You picked up some extra lives\n");
+                       Send_Notification(NOTIF_ONE, player, MSG_CENTER, CENTER_EXTRALIVES);
                }
 
                // invis powerup