Updated Moose.lua

This commit is contained in:
funkyfranky
2022-11-03 10:44:55 +00:00
parent d95459105e
commit 81505d8c72
@@ -7,7 +7,7 @@
-- --
------------------------------------------------------------------------- -------------------------------------------------------------------------
-- Join the game master slot initially, and then the Tank in -- Join the game master slot initially, and then the Tank in
-- Combined Arms after a few seconds. Shoot and destroy one of the tanks -- Combined Arms after a few seconds. Shoot and destroy on of the tanks
-- ahead. -- ahead.
------------------------------------------------------------------------- -------------------------------------------------------------------------
-- Date: November 2022 -- Date: November 2022
@@ -25,6 +25,7 @@ local oiltanks = SET_SCENERY:New()
oilstation:ForEachScenery( oilstation:ForEachScenery(
function(object) function(object)
local scenery = object --Wrapper.Scenery#SCENERY local scenery = object --Wrapper.Scenery#SCENERY
local name = scenery:GetName()
local desc = scenery:GetDesc() local desc = scenery:GetDesc()
BASE:I({desc.typeName}) BASE:I({desc.typeName})
if string.find(string.lower(desc.typeName),"tank") then if string.find(string.lower(desc.typeName),"tank") then