forked from mirrors/0ad
Fix undefined property warning. Fixes #2742.
This was SVN commit r15665.
This commit is contained in:
@@ -59,12 +59,12 @@ Heal.prototype.GetRange = function()
|
||||
|
||||
Heal.prototype.GetUnhealableClasses = function()
|
||||
{
|
||||
return this.template.UnhealableClasses._string;
|
||||
return this.template.UnhealableClasses._string || "";
|
||||
};
|
||||
|
||||
Heal.prototype.GetHealableClasses = function()
|
||||
{
|
||||
return this.template.HealableClasses._string;
|
||||
return this.template.HealableClasses._string || "";
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user