Fixes an issue where the engineer can be given the order to teleport but when the logic triggers the engineer is already dead.
Error that prompted the change:
WARNING: Error running lua script: ...faforever\gamedata\lua.nx2\lua\scenarioframework.lua(921): Game object has been destroyed
stack traceback:
[C]: in function GetOrientation' ...faforever\gamedata\lua.nx2\lua\scenarioframework.lua(921): in functionFakeTeleportUnit'
...alliance\maps\scca_coop_e04\scca_coop_e04_script.lua(1227): in function `callbackFunction'
...\faforever\gamedata\lua.nx2\lua\scenariotriggers.lua(676): in function <...\faforever\gamedata\lua.nx2\lua\scenariotriggers.lua:618>
Fixes an issue where the engineer can be given the order to teleport but when the logic triggers the engineer is already dead.
Error that prompted the change: WARNING: Error running lua script: ...faforever\gamedata\lua.nx2\lua\scenarioframework.lua(921): Game object has been destroyed stack traceback: [C]: in function
GetOrientation' ...faforever\gamedata\lua.nx2\lua\scenarioframework.lua(921): in function
FakeTeleportUnit' ...alliance\maps\scca_coop_e04\scca_coop_e04_script.lua(1227): in function `callbackFunction' ...\faforever\gamedata\lua.nx2\lua\scenariotriggers.lua(676): in function <...\faforever\gamedata\lua.nx2\lua\scenariotriggers.lua:618>