From: Mario Date: Sat, 17 Oct 2020 03:59:11 +0000 (+1000) Subject: Don't show alone messages to spectators as that may out the hunter, also increase... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b5c7c8c29119a73ed6b355a25315bf604dfe8862;p=xonotic%2Fxonotic-data.pk3dir.git Don't show alone messages to spectators as that may out the hunter, also increase Survival timelimit to 30 by default --- diff --git a/qcsrc/common/gamemodes/gamemode/survival/survival.qh b/qcsrc/common/gamemodes/gamemode/survival/survival.qh index 2176acbbd..17a01d84c 100644 --- a/qcsrc/common/gamemodes/gamemode/survival/survival.qh +++ b/qcsrc/common/gamemodes/gamemode/survival/survival.qh @@ -9,7 +9,7 @@ void HUD_Mod_Survival(vector pos, vector mySize); CLASS(Survival, Gametype) INIT(Survival) { - this.gametype_init(this, _("Survival"),"sv","g_survival",GAMETYPE_FLAG_USEPOINTS,"","timelimit=20 pointlimit=20",_("Identify and eliminate all the hunters before all your allies are gone")); + this.gametype_init(this, _("Survival"),"sv","g_survival",GAMETYPE_FLAG_USEPOINTS,"","timelimit=30 pointlimit=20",_("Identify and eliminate all the hunters before all your allies are gone")); } METHOD(Survival, m_isAlwaysSupported, bool(Gametype this, int spawnpoints, float diameter)) { diff --git a/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc b/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc index 130813b99..1c066d8b7 100644 --- a/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc +++ b/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc @@ -326,7 +326,7 @@ void surv_LastPlayerForTeam_Notify(entity this) { entity pl = surv_LastPlayerForTeam(this); if (pl) - Send_Notification(NOTIF_ONE, pl, MSG_CENTER, CENTER_ALONE); + Send_Notification(NOTIF_ONE_ONLY, pl, MSG_CENTER, CENTER_ALONE); } }