From 27ae6fcef9cf13018b7d9804c49a30398fadabdb Mon Sep 17 00:00:00 2001 From: DamianX Date: Wed, 15 Feb 2023 15:26:22 +0100 Subject: [PATCH] Fixed lighting a matchstick crashing the server (#14130) --- Content.Server/Light/EntitySystems/MatchboxSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Light/EntitySystems/MatchboxSystem.cs b/Content.Server/Light/EntitySystems/MatchboxSystem.cs index 171a74b533..b4c6f28ead 100644 --- a/Content.Server/Light/EntitySystems/MatchboxSystem.cs +++ b/Content.Server/Light/EntitySystems/MatchboxSystem.cs @@ -21,7 +21,7 @@ namespace Content.Server.Light.EntitySystems && EntityManager.TryGetComponent(args.Used, out var matchstick) && matchstick.CurrentState == SmokableState.Unlit) { - _stickSystem.Ignite(uid, matchstick, args.User); + _stickSystem.Ignite(args.Used, matchstick, args.User); args.Handled = true; } } -- 2.52.0