]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Return back announce for like-yoda achievement
authorAriosJentu <darthpoezd@gmail.com>
Tue, 27 Aug 2019 15:42:35 +0000 (01:42 +1000)
committerAriosJentu <darthpoezd@gmail.com>
Tue, 27 Aug 2019 15:42:35 +0000 (01:42 +1000)
qcsrc/common/weapons/weapon/vaporizer.qc
qcsrc/common/weapons/weapon/vortex.qc

index 5e82921613c8deef941db4043c643f1067099616..c0f212538d3f89783c86e76f26c138698950357f 100644 (file)
@@ -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)
index 10e4e20d6d89ebcb4b5e1dce804f8b02355b848e..7ea7952471b2b30e0da813463ee61c66182edb23 100644 (file)
@@ -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)