]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Added ContainerSpawnPoint check for integration test (#25446)
author778b <33431126+778b@users.noreply.github.com>
Sun, 25 Feb 2024 13:54:44 +0000 (17:54 +0400)
committerGitHub <noreply@github.com>
Sun, 25 Feb 2024 13:54:44 +0000 (00:54 +1100)
commit87def406bc2cb3121888d162c8fe707ff937dd6f
treeba15be91f8366e994f5067583af2d40c1565f3e0
parent1de102d08e93c8e5de0bfedf05d4dc02dfbee8a6
Added ContainerSpawnPoint check for integration test (#25446)

* Added logic for ContainerSpawnPoint checks

* Improved with template function

* fixed nullable

* hehe

* hehe T?

* added type check before cast

* another nullable fix

* and another one

* return to old code (found typo)

* Code cleanup

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Content.IntegrationTests/Tests/PostMapInitTest.cs
Content.Server/Spawners/Components/ContainerSpawnPointComponent.cs
Content.Server/Spawners/Components/ISpawnPoint.cs [new file with mode: 0644]
Content.Server/Spawners/Components/SpawnPointComponent.cs