Skip to content

Commit

Permalink
Also added constraint for Espionage messaging in non-Espionage modes
Browse files Browse the repository at this point in the history
  • Loading branch information
darkshade9 committed Mar 2, 2024
1 parent a1fa1e4 commit cccdfd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/g_save.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ void InitGame( void )
esp_atl = gi.cvar( "esp_atl", "0", 0 ); // This forces ATL mode even if ETV mode is set in the .esp file
esp_punish = gi.cvar("esp_punish", "0", 0);
esp_etv_halftime = gi.cvar("esp_etv_halftime", "0", CVAR_LATCH);
if (esp_etv_halftime->value && roundlimit->value < 4) {
if (esp->value && esp_etv_halftime->value && roundlimit->value < 4) {
// Disabling halftime because roundlimit is not set
disablecvar(esp_etv_halftime, "Roundlimit set too low for halftime, minimum is 4 rounds");
}
Expand Down

0 comments on commit cccdfd6

Please sign in to comment.