]> git.deb.at Git - rhonda/impostor.git/commit
Stop hardcoding the GameOptions in GameListingV2
authorminiduikboot <mini@duikbo.at>
Wed, 26 Mar 2025 19:52:17 +0000 (20:52 +0100)
committerminiduikboot <mini@duikbo.at>
Sun, 30 Mar 2025 18:35:03 +0000 (20:35 +0200)
commit28e933092ac2e7cb821a7761194913ff0499bcaf
tree0ff1d5cdbecb94daeb33127e3febeec219f9776f
parent06289d46c0c403c69a776b06cb6fed2c90a55d24
Stop hardcoding the GameOptions in GameListingV2

To prevent needing to pull in Impostor.Hazel, use an extension method
instead.

Thanks Niko for researching this part

Co-Authored-By: Niko233 <139348239+NikoCat233@users.noreply.github.com>
src/Impostor.Server/Extensions/IGameOptionsExtensions.cs [new file with mode: 0644]
src/Impostor.Server/Http/GamesController.cs