Bugfix in SpawnInZone where SpawnIndex was not incremented correctly.

This commit is contained in:
FlightControl 2017-06-08 00:49:52 +02:00
parent 9dfff9ae5e
commit fa6d53634b

View File

@ -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