Fix multiple return warnings.

This commit is contained in:
Marisa the Magician 2023-12-23 20:20:46 +01:00
commit 7c1cf8bacc
3 changed files with 15 additions and 3 deletions

View file

@ -646,7 +646,11 @@ Class PulseGun : UTWeapon
override int, int, bool, bool GetClipAmount()
{
if ( !flak_pulsereload ) return Super.GetClipAmount();
if ( !flak_pulsereload )
{
let [foo, bar, baz, qux] = Super.GetClipAmount();
return foo, bar, baz, qux;
}
return ClipOut?-1:ClipCount, -1, (ClipCount<10), false;
}