]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add log info about achievement got
authorAriosJentu <darthpoezd@gmail.com>
Sun, 25 Aug 2019 15:23:29 +0000 (01:23 +1000)
committerAriosJentu <darthpoezd@gmail.com>
Sun, 25 Aug 2019 15:23:29 +0000 (01:23 +1000)
qcsrc/common/achievements.qc

index 28d96d7c78003113b5b40909e4aaa9d55fbe1837..813918391da224eee52eab262b328ec1b7b39e29 100644 (file)
@@ -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