fix: Simplifies OPL (#1051)

This commit is contained in:
Kamron Batman 2022-06-12 21:27:16 -07:00 • committed by GitHub
parent b74b47159f
commit db20722711
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 31 deletions

View file

@ -878,9 +878,9 @@ namespace Server.Multis
DesignState.SendDetailedInfoTo(ns);
}
public override void SendInfoTo(NetState ns, ReadOnlySpan<byte> world = default, Span<byte> opl = default)
public override void SendInfoTo(NetState ns, ReadOnlySpan<byte> world = default)
{
base.SendInfoTo(ns, world, opl);
base.SendInfoTo(ns, world);
var stateToSend = DesignContext.Find(ns?.Mobile)?.Foundation == this ? DesignState : CurrentState;
stateToSend.SendGeneralInfoTo(ns);