Gets rid of all ComponentManager usages. (#4707)
This commit is contained in:
committed by
GitHub
parent
7953e5b962
commit
0be5ff829b
@@ -108,7 +108,7 @@ namespace Content.Server.Advertise
|
||||
|
||||
var curTime = _gameTiming.CurTime;
|
||||
|
||||
foreach (var advertise in ComponentManager.EntityQuery<AdvertiseComponent>())
|
||||
foreach (var advertise in EntityManager.EntityQuery<AdvertiseComponent>())
|
||||
{
|
||||
if (!advertise.Enabled)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user