MRJ works; moved ProvidesRadar.IsActive update to Tick to avoid desync if any other actor code relies on it.
This commit is contained in:
@@ -307,7 +307,7 @@ namespace OpenRa
|
||||
{
|
||||
var hasNewRadar = world.Actors.Any(a => a.Owner == world.LocalPlayer
|
||||
&& a.traits.Contains<ProvidesRadar>()
|
||||
&& a.traits.Get<ProvidesRadar>().IsActive(a));
|
||||
&& a.traits.Get<ProvidesRadar>().IsActive);
|
||||
|
||||
if (hasNewRadar != hasRadar)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user