openclonk/planet/Tutorials.ocf/Sandbox.ocs/System.ocg/TweaksUIFuncs.c

12 lines
247 B
C

#appendto Clonk
func TweaksUI_SetInvincibility(newValue)
{
if (newValue == true)
Log("$TweakInvincible_Activated$", this->GetName());
else
Log("$TweakInvincible_Deactivated$", this->GetName());
return this->SetInvincibility(newValue);
}