Server spits out error messages, while the mod should be correct! (fixed)

Hello everyone.
I am adapting one of the funniest mod i encountered here
MajorVictory87’s mod.

Why?
Becouse i want to learn more about lua’s code structure
and to see what is all possible with the resources there are around.

Now this is the thing i am strugling with.
I want to adapt the tugs to act more kinky.

class "MMWeapons_tugs_sweep"

function MMWeapons_tugs_sweep:Write(instance)

	if (mmResources:IsLoaded('tugs_vehicle')) then
		mmResources:SetLoaded('tugs_vehicle', false)

		local radarSweep = ebxEditUtils:GetWritableInstance(mmResources:GetInstance('tugs_vehicle'))
--		radarSweep.ControllableSweepRadius = 60
		radarSweep.controllableSweepInterval = 1.5
--		radarSweep.SweepForMines = true
--		radarSweep.MineSweepRadius = 60
		radarSweep.mineSweepInterval = 1.5
--		radarSweep.TimeToLive = 0.0
		dprint('Changed T-UGS Sweep Range...')
	end

end
return MMWeapons_tugs_sweep()

Thnxs.

28-03-2022
FIXED
Captial != capital grr,