From: AriosJentu Date: Sun, 25 Aug 2019 15:23:29 +0000 (+1000) Subject: Add log info about achievement got X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ae141a08ef9ed489fa53ee49e6e82ec261d90b0b;p=xonotic%2Fxonotic-data.pk3dir.git Add log info about achievement got --- diff --git a/qcsrc/common/achievements.qc b/qcsrc/common/achievements.qc index 28d96d7c7..813918391 100644 --- a/qcsrc/common/achievements.qc +++ b/qcsrc/common/achievements.qc @@ -106,5 +106,6 @@ void Achievements_inc_achievement(entity this, string achieve) { void Achievements_announce(Achievements this, entity whom, string title, string achieve) { #ifdef SVQC centerprint(whom, strcat(title, " [", ftos(this.get_achievement_value(this, achieve)), "]")); + print(strcat(whom.netname, " got ", achieve, " achievement.\n")); #endif } \ No newline at end of file