fix: don't ignore flags in pk;system color

This commit is contained in:
spiral 2022-05-02 15:54:49 -04:00
parent 1b5efb6669
commit 430a33ccf0
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E

View File

@ -123,7 +123,7 @@ public class SystemEdit
{
var isOwnSystem = ctx.System?.Id == target.Id;
if (!ctx.HasNext())
if (!isOwnSystem || !ctx.HasNext(false))
{
if (target.Color == null)
await ctx.Reply(