Make ITick require explicit implementation
This commit is contained in:
committed by
Matthias Mailänder
parent
85e60ef77f
commit
28e1f391e0
@@ -153,7 +153,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
}
|
||||
}
|
||||
|
||||
public void Tick(Actor self)
|
||||
void ITick.Tick(Actor self)
|
||||
{
|
||||
if (info.Lifetime != 0 && self.IsInWorld && ++ticks >= info.Lifetime * 25)
|
||||
self.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user