Skip to content

Commit

Permalink
Fix error with sm1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bara20 committed Apr 9, 2015
1 parent 5482e74 commit ea3e2de
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 ea3e2de

Please sign in to comment.