- fix: Fix cult popups.

This commit is contained in:
Aviu00
2024-03-05 21:18:11 +03:00
parent 163d51a75e
commit 0c65e35cd8

View File

@@ -57,7 +57,7 @@ public sealed partial class CultSystem
if (comp.SelectedEmpowers.Count >= 1) if (comp.SelectedEmpowers.Count >= 1)
{ {
_popupSystem.PopupEntity(Loc.GetString("verb-spell-create-too-much"), ent); _popupSystem.PopupEntity(Loc.GetString("verb-spell-create-too-much"), ent, ent);
return; return;
} }
@@ -106,7 +106,7 @@ public sealed partial class CultSystem
{ {
if (ent.Comp.SelectedEmpowers.Count == 0) if (ent.Comp.SelectedEmpowers.Count == 0)
{ {
_popupSystem.PopupEntity(Loc.GetString("verb-spell-remove-no-spells"), ent); _popupSystem.PopupEntity(Loc.GetString("verb-spell-remove-no-spells"), ent, ent);
return; return;
} }