From: AriosJentu Date: Tue, 27 Aug 2019 15:42:35 +0000 (+1000) Subject: Return back announce for like-yoda achievement X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1443b8766036dcf29f2eca476e987c297870eea2;p=xonotic%2Fxonotic-data.pk3dir.git Return back announce for like-yoda achievement --- diff --git a/qcsrc/common/weapons/weapon/vaporizer.qc b/qcsrc/common/weapons/weapon/vaporizer.qc index 5e8292161..c0f212538 100644 --- a/qcsrc/common/weapons/weapon/vaporizer.qc +++ b/qcsrc/common/weapons/weapon/vaporizer.qc @@ -140,6 +140,7 @@ void W_Vaporizer_Attack(Weapon thiswep, entity actor, .entity weaponentity) if(yoda && flying) { Send_Notification(NOTIF_ONE, actor, MSG_ANNCE, ANNCE_ACHIEVEMENT_YODA); achs.inc_achievement(achs, "likeyoda"); + achs.announce(achs, actor, "likeyoda"); } if(damage_goodhits && actor.vaporizer_lasthit) diff --git a/qcsrc/common/weapons/weapon/vortex.qc b/qcsrc/common/weapons/weapon/vortex.qc index 10e4e20d6..7ea795247 100644 --- a/qcsrc/common/weapons/weapon/vortex.qc +++ b/qcsrc/common/weapons/weapon/vortex.qc @@ -151,6 +151,7 @@ void W_Vortex_Attack(Weapon thiswep, entity actor, .entity weaponentity, float i if(yoda && flying) { Send_Notification(NOTIF_ONE, actor, MSG_ANNCE, ANNCE_ACHIEVEMENT_YODA); achs.inc_achievement(achs, "likeyoda"); + achs.announce(achs, actor, "likeyoda"); } if(damage_goodhits && actor.vortex_lasthit)