From 1443b8766036dcf29f2eca476e987c297870eea2 Mon Sep 17 00:00:00 2001 From: AriosJentu Date: Wed, 28 Aug 2019 01:42:35 +1000 Subject: [PATCH] Return back announce for like-yoda achievement --- qcsrc/common/weapons/weapon/vaporizer.qc | 1 + qcsrc/common/weapons/weapon/vortex.qc | 1 + 2 files changed, 2 insertions(+) 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) -- 2.39.5