Verb predict (#5638)
This commit is contained in:
@@ -62,6 +62,9 @@ namespace Content.Server.Nuke
|
||||
{
|
||||
component.RemainingTime = component.Timer;
|
||||
_itemSlots.AddItemSlot(uid, component.Name, component.DiskSlot);
|
||||
|
||||
UpdateStatus(uid, component);
|
||||
UpdateUserInterface(uid, component);
|
||||
}
|
||||
|
||||
public override void Update(float frameTime)
|
||||
@@ -101,6 +104,8 @@ namespace Content.Server.Nuke
|
||||
|
||||
private void OnItemSlotChanged(EntityUid uid, NukeComponent component, ContainerModifiedMessage args)
|
||||
{
|
||||
if (!component.Initialized) return;
|
||||
|
||||
if (args.Container.ID != component.DiskSlot.ID)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user