Skip to content
Permalink
Browse files

Merge branch 'master' of https://github.com/Bara/TroubleinTerroristTown

  • Loading branch information
Bara committed Aug 16, 2019
2 parents 86e86ac + 504fe6c commit f316a541522fe2f141c79f4a04b235e01d6e8076
Showing with 2 additions and 2 deletions.
  1. +2 −2 addons/sourcemod/scripting/ttt/ttt_stations.sp
@@ -290,9 +290,9 @@ void checkDistanceFromStation(int client)
if (g_iStationCharges[owner] > 0 && ((hurt == false) || (client != owner)))
{
newHealth = (hurt ? (curHealth - g_cHurtDamage.IntValue) : (curHealth + g_cHealthHeal.IntValue));
if (newHealth >= 125)
if (newHealth >= g_cMaxHealth.IntValue)
{
SetEntityHealth(client, 125);
SetEntityHealth(client, g_cMaxHealth.IntValue);
}
else if (newHealth <= 0)
{

0 comments on commit f316a54

Please sign in to comment.
You can’t perform that action at this time.