mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#PLAYERRECCE
* Smoke own position on ground, not mid-air
This commit is contained in:
parent
386171bcab
commit
525666be7c
@ -104,7 +104,7 @@ PLAYERRECCE = {
|
|||||||
ClassName = "PLAYERRECCE",
|
ClassName = "PLAYERRECCE",
|
||||||
verbose = true,
|
verbose = true,
|
||||||
lid = nil,
|
lid = nil,
|
||||||
version = "0.0.15",
|
version = "0.0.16",
|
||||||
ViewZone = {},
|
ViewZone = {},
|
||||||
ViewZoneVisual = {},
|
ViewZoneVisual = {},
|
||||||
ViewZoneLaser = {},
|
ViewZoneLaser = {},
|
||||||
@ -958,9 +958,11 @@ function PLAYERRECCE:_SmokeTargets(client,group,playername)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if self.SmokeOwn[playername] then
|
if self.SmokeOwn[playername] then
|
||||||
local cc = client:GetCoordinate()
|
local cc = client:GetVec2()
|
||||||
|
-- don't smoke mid-air
|
||||||
|
local lc = COORDINATE:NewFromVec2(cc,1)
|
||||||
local color = self.SmokeColor.ownsmoke
|
local color = self.SmokeColor.ownsmoke
|
||||||
cc:Smoke(color)
|
lc:Smoke(color)
|
||||||
end
|
end
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user