mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Bugfix in SpawnInZone where SpawnIndex was not incremented correctly.
This commit is contained in:
parent
9dfff9ae5e
commit
fa6d53634b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user