Add a panic function to the Lua API.
This commit is contained in:
committed by
reaperrr
parent
318c4e3456
commit
6130d5622c
@@ -54,7 +54,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
mobile = self.Trait<Mobile>();
|
||||
}
|
||||
|
||||
void Panic()
|
||||
public void Panic()
|
||||
{
|
||||
if (!Panicking)
|
||||
self.CancelActivity();
|
||||
|
||||
Reference in New Issue
Block a user