Merge pull request #5 from dutchie032/fix/dcs_release

Fix/dcs release
This commit is contained in:
2024-12-11 19:49:17 +01:00
committed by GitHub
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -76,6 +76,8 @@ jobs:
- name: ls - name: ls
run: ls run: ls
working-directory: ./dutchie032.github.io working-directory: ./dutchie032.github.io
- name: commit
run: git pull
- name: add - name: add
run: git add --a run: git add --a
working-directory: ./dutchie032.github.io working-directory: ./dutchie032.github.io
+1 -1
View File
@@ -355,7 +355,7 @@ do -- DB
functionString = functionString .. " { x=" .. vecpoint.x .. ", y=0,z=" .. vecpoint.z .. functionString = functionString .. " { x=" .. vecpoint.x .. ", y=0,z=" .. vecpoint.z ..
"}," "},"
end end
functionString = functionString .. "{0,1,0,1}, {0,0,0,1}, 1)" functionString = functionString .. "{0,1,0,1}, {0,0,0,0}, 1)"
env.info(functionString) env.info(functionString)
---@diagnostic disable-next-line: deprecated ---@diagnostic disable-next-line: deprecated
+2
View File
@@ -303,6 +303,8 @@ do
local function CheckAndTriggerSpawnAsync(unit, time) local function CheckAndTriggerSpawnAsync(unit, time)
local function isPlayer(unit) local function isPlayer(unit)
if unit == nil then return false, "unit is nil" end if unit == nil then return false, "unit is nil" end
if unit.getGroup == nil then return false, 'no get group function in unit object, most likely static' end
if unit:isExist() ~= true then return false, "unit does not exist" end if unit:isExist() ~= true then return false, "unit does not exist" end
local group = unit:getGroup() local group = unit:getGroup()
if group ~= nil then if group ~= nil then