Cleanup: Fix field naming rule violation in `GhostComponent` (#35454)

* Fix

* Update Content.Shared/Ghost/GhostComponent.cs

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
Winkarst
2025-02-24 20:48:32 +03:00
committed by GitHub
parent 0148c441e6
commit 22398ea342
2 changed files with 3 additions and 3 deletions

View File

@@ -150,7 +150,7 @@ namespace Content.Client.Ghost
private void OnGhostState(EntityUid uid, GhostComponent component, ref AfterAutoHandleStateEvent args)
{
if (TryComp<SpriteComponent>(uid, out var sprite))
sprite.LayerSetColor(0, component.color);
sprite.LayerSetColor(0, component.Color);
if (uid != _playerManager.LocalEntity)
return;