]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix server crash when the seed extractor is used on the dev map (#33312)
authorMossyGreySlope <mossygreyslope@gmail.com>
Sat, 16 Nov 2024 03:57:33 +0000 (13:57 +1000)
committerGitHub <noreply@github.com>
Sat, 16 Nov 2024 03:57:33 +0000 (21:57 -0600)
handle event when using seed extractor

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Content.Server/Botany/Systems/SeedExtractorSystem.cs

index 93f76473ff886a8344ce96ff6c8a10e5ccd35fc1..c7e20983a7adf6d52da2c4edb1612960806e0302 100644 (file)
@@ -38,6 +38,7 @@ public sealed class SeedExtractorSystem : EntitySystem
             args.User, PopupType.Medium);
 
         QueueDel(args.Used);
+        args.Handled = true;
 
         var amount = _random.Next(seedExtractor.BaseMinSeeds, seedExtractor.BaseMaxSeeds + 1);
         var coords = Transform(uid).Coordinates;