Skip to content

Commit

Permalink
Merge pull request #14 from ghost/patch-1
Browse files Browse the repository at this point in the history
Fix error with sm1.7
  • Loading branch information
popoklopsi committed Nov 11, 2016
2 parents 5482e74 + ea3e2de commit 9993bab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stamm_colored_smokes.sp
Expand Up @@ -210,7 +210,7 @@ public Action:eventHeDetonate(Handle:event, const String:name[], bool:dontBroadc
// Create and teleport to smoke
TeleportEntity(ent_light, origin, NULL_VECTOR, NULL_VECTOR);

CreateTimer(20.0, delete, ent_light, TIMER_FLAG_NO_MAPCHANGE);
CreateTimer(20.0, Timer_Delete, ent_light, TIMER_FLAG_NO_MAPCHANGE);
}
}
}
Expand Down Expand Up @@ -247,7 +247,7 @@ public Action:PartyLight(Handle:timer, any:light)


// Delete the light on finish
public Action:delete(Handle:timer, any:light)
public Action:Timer_Delete(Handle:timer, any:light)
{
if (IsValidEntity(light))
{
Expand All @@ -261,4 +261,4 @@ public Action:delete(Handle:timer, any:light)
RemoveEdict(light);
}
}
}
}

0 comments on commit 9993bab

Please sign in to comment.