mirror of
https://github.com/fortressforever/fortressforever-scripts.git
synced 2024-11-22 20:51:28 +00:00
Merge pull request #32 from AfterShockFF/lua-trails-on-flags
Add trail to flags
This commit is contained in:
commit
35493f7331
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue