Фиксики ГАНДОНЫ

This commit is contained in:
Jabak
2024-08-24 14:25:47 +03:00
parent c647c0fd8f
commit 359fc93111
11 changed files with 5 additions and 149 deletions

View File

@@ -25,7 +25,6 @@ public sealed partial class GenderChange : ReagentEffect
{
var uid = args.SolutionEntity;
var newGender = NewGender;
var grammarSystem = args.EntityManager.System<GrammarSystem>();
var identitySystem = args.EntityManager.System<IdentitySystem>();
// bleh, this probably should not be here but I have no clue where to put it
@@ -39,8 +38,6 @@ public sealed partial class GenderChange : ReagentEffect
if (newGender.HasValue)
{
grammarSystem.SetGender((uid, grammar), newGender);
if (args.EntityManager.HasComponent<IdentityComponent>(uid))
identitySystem.QueueIdentityUpdate(uid);
}