forked from Mirrors/openclonk
Add function to CTF flag to disable pickup.
To be used by scenarios that use the flag differently.liquid_container
parent
775533a8da
commit
d213115103
|
@ -39,6 +39,12 @@ protected func Initialize()
|
|||
return;
|
||||
}
|
||||
|
||||
public func DisablePickup()
|
||||
{
|
||||
// Disable pickup search in case flag is used outside the regular CTF goal
|
||||
return RemoveEffect("FlagAutoPickup", this);
|
||||
}
|
||||
|
||||
// Handles automatic picking up of the flag.
|
||||
protected func FxFlagAutoPickupTimer(object target, effect)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue