]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
welder fix (#20090)
authorDoru991 <75124791+Doru991@users.noreply.github.com>
Wed, 13 Sep 2023 04:35:04 +0000 (07:35 +0300)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2023 04:35:04 +0000 (14:35 +1000)
Content.Server/Tools/ToolSystem.Welder.cs

index 7e9c7181c5143ce568c417bd0c505d294bf78d61..bd626258ecd450893303ca92dd34b886a1871f8b 100644 (file)
@@ -85,7 +85,7 @@ namespace Content.Server.Tools
                 return false;
 
             // Optional components.
-            Resolve(uid, ref item,ref appearance, false);
+            Resolve(uid, ref item, ref appearance, false);
 
             _light.ResolveLight(uid, ref light);
 
@@ -150,7 +150,9 @@ namespace Content.Server.Tools
                 return false;
 
             // Optional components.
-            Resolve(uid, ref item, ref light, ref appearance, false);
+            Resolve(uid, ref item, ref appearance, false);
+
+            _light.ResolveLight(uid, ref light);
 
             welder.Lit = false;