New features and fixes in volfeatures. See details.
Fixed existing volumes not removed after a map change. Added class editor feature that can modify certain class attributes on players in a volume. Fixed typo in class attribute name. Fixed health regeneration timer not stopping if a player were kicked or timed out.
This commit is contained in:
@ -60,8 +60,8 @@ ClassHealthRegenStop(client)
|
||||
|
||||
public Action:ClassHealthRegenTimer(Handle:timer, any:client)
|
||||
{
|
||||
// Kill the timer if the player is dead.
|
||||
if (!IsPlayerAlive(client))
|
||||
// Kill the timer if the player is dead or not in game.
|
||||
if (!IsClientConnected(client) || !IsClientInGame(client) || !IsPlayerAlive(client))
|
||||
{
|
||||
tHealthRegen[client] = INVALID_HANDLE;
|
||||
return Plugin_Stop;
|
||||
|
Reference in New Issue
Block a user