mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
Explicitly return "undefined" when requesting Splash data in Attack.js
Compared to other occurrences in code base, it makes sense to return undefined rather then just empty return. Differential Revision: https://code.wildfiregames.com/D2665 Patch by: Freagarach This was SVN commit r23563.
This commit is contained in:
parent
32a105d6f8
commit
c968154934
1 changed files with 1 additions and 1 deletions
|
|
@ -417,7 +417,7 @@ Attack.prototype.GetTimers = function(type)
|
|||
Attack.prototype.GetSplashData = function(type)
|
||||
{
|
||||
if (!this.template[type].Splash)
|
||||
return;
|
||||
return undefined;
|
||||
|
||||
return {
|
||||
"attackData": this.GetAttackEffectsData(type, true),
|
||||
|
|
|
|||
Loading…
Reference in a new issue