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",
|
||||
verbose = true,
|
||||
lid = nil,
|
||||
version = "0.0.15",
|
||||
version = "0.0.16",
|
||||
ViewZone = {},
|
||||
ViewZoneVisual = {},
|
||||
ViewZoneLaser = {},
|
||||
@ -958,9 +958,11 @@ function PLAYERRECCE:_SmokeTargets(client,group,playername)
|
||||
end
|
||||
|
||||
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
|
||||
cc:Smoke(color)
|
||||
lc:Smoke(color)
|
||||
end
|
||||
|
||||
return self
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user