]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Moved Serverside solution container code to shared (yes that includes ensureSolution...
authorJezithyr <jezithyr@gmail.com>
Tue, 7 May 2024 00:27:36 +0000 (17:27 -0700)
committerGitHub <noreply@github.com>
Tue, 7 May 2024 00:27:36 +0000 (17:27 -0700)
commit6685146a1e3e188eac1fb2502920225c56cc08e1
treee508f7df619a656f4f14791757646cc0c6eec560
parent008f6ef94a65a48d8bc2e89c80774d1ac6c624b3
Moved Serverside solution container code to shared (yes that includes ensureSolution!) (#27478)

* Added warning to tryGetSolution, moved SolutionContainer code to shared
- Added an optional warning (false by default) to print an error if a solution is missing when using tryGetSolution methods
- Moved ensuring solution containers to shared, left the old method stubs for compatability and marked them as obsolete.

* Update SharedSolutionContainerSystem.cs

* Update SharedSolutionContainerSystem.cs

* Update SolutionContainerSystem.cs

* Update SharedSolutionContainerSystem.cs

* Fixing ensuring chem solutions always returning false on client
- ensuring chem solutions will only return false on the client if it is waiting for a server solutionEntity to be synced

* Added concentration helpers

* fix whitespace
Content.Server/Chemistry/Containers/EntitySystems/SolutionContainerSystem.cs
Content.Shared/Chemistry/EntitySystems/SharedSolutionContainerSystem.cs