Fix for speed nil in ops groups

This commit is contained in:
Applevangelist
2024-03-13 07:39:56 +01:00
parent e3d2dec91f
commit f7f28877da
3 changed files with 3 additions and 3 deletions

View File

@@ -2069,7 +2069,7 @@ function ARMYGROUP:_InitGroup(Template)
self.speedMax=self.group:GetSpeedMax()
-- Is group mobile?
if self.speedMax>3.6 then
if self.speedMax and self.speedMax>3.6 then
self.isMobile=true
else
self.isMobile=false