mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Bugfix in SpawnInZone where SpawnIndex was not incremented correctly.
This commit is contained in:
@@ -975,7 +975,8 @@ function SPAWN:SpawnFromVec3( Vec3, SpawnIndex )
|
||||
|
||||
if SpawnIndex then
|
||||
else
|
||||
SpawnIndex = self.SpawnIndex + 1
|
||||
self.SpawnIndex = self.SpawnIndex + 1
|
||||
SpawnIndex = self.SpawnIndex
|
||||
end
|
||||
|
||||
if self:_GetSpawnIndex( SpawnIndex ) then
|
||||
|
||||
Reference in New Issue
Block a user