@jtff/miztemplate-lib 3.10.3 → 3.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -892,7 +892,7 @@ function SpawnRanges(param)
|
|
|
892
892
|
local y = staticToSpawn.y
|
|
893
893
|
--spawnStatic = SPAWNSTATIC:NewFromType(staticTypeToSpawn, staticCategoryToSpawn)
|
|
894
894
|
if (staticToSpawn.type == "big_smoke" and staticToSpawn.category == "Effects") then
|
|
895
|
-
local landAltitude = POINT_VEC2:New( x, y ):
|
|
895
|
+
local landAltitude = POINT_VEC2:New( x, y ):GetLandHeight()
|
|
896
896
|
trigger.action.effectSmokeBig({ x = x, y = landAltitude, z = y}, staticToSpawn.effectPreset or 1, staticToSpawn.effectTransparency or 1)
|
|
897
897
|
else
|
|
898
898
|
if (staticToSpawn.coalition ~= nil) then
|