Merge pull request #32 from AfterShockFF/lua-trails-on-flags

Add trail to flags
This commit is contained in:
Mike Parker 2015-03-27 02:14:21 +00:00
commit 35493f7331

View file

@ -537,6 +537,7 @@ function baseflag:spawn()
LogLuaEvent(0, 0, "flag_spawn","flag_name",flag:GetName()) LogLuaEvent(0, 0, "flag_spawn","flag_name",flag:GetName())
self.status = 0 self.status = 0
self:refreshStatusIcons(flag:GetName()) self:refreshStatusIcons(flag:GetName())
flag:StartTrail(self.team)
end end
function baseflag:addnotouch(player_id, duration) function baseflag:addnotouch(player_id, duration)