mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Excluded flares from being reset
This commit is contained in:
parent
268bcc4ca6
commit
7c28d2dddd
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ namespace SceneManager
|
|||
|
||||
if(selectedItem == resetBarriers)
|
||||
{
|
||||
foreach(Barrier barrier in barriers.Where(b => b.GetBarrier()))
|
||||
foreach(Barrier barrier in barriers.Where(b => b.GetBarrier() && !b.GetBarrier().Model.Name.Contains("flare")))
|
||||
{
|
||||
barrier.GetBarrier().Position = barrier.GetPosition();
|
||||
barrier.GetBarrier().Heading = barrier.GetRotation();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue