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:
Angen 2020-04-01 18:17:48 +00:00
parent 32a105d6f8
commit c968154934

View file

@ -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),