Seite 1 von 1

[erledigt] Wrong case value in switch block in shiptree.js

Verfasst: 12. Dez 2021, 16:51
von Charles
I found wrong case in switch block in js/shiptree.js:

Current case value:

case 'PlasmaDetonator':
var big = $('<p class="big_img">No Informations!!!</p>');
break;

I guess, it should look like:
case 'PlasmaDetonatorPop':
var big = $('<p class="big_img">No Informations!!!</p>');
break;

Re: Wrong case value in switch block in shiptree.js

Verfasst: 13. Dez 2021, 10:31
von VanRyun
Thx. Im thinking about a good description.

[erledigt] Re: Wrong case value in switch block in shiptree.js

Verfasst: 26. Dez 2021, 15:04
von Frendor
Charles hat geschrieben: 12. Dez 2021, 16:51
I guess, it should look like:
case 'PlasmaDetonatorPop':
var big = $('<p class="big_img">No Informations!!!</p>');
break;
Here is the changelog:
https://forum.last-war.de/viewtopic.php?p=13584#p13584

The issue was fixed and it looks like suggested.

All the best

Re: [erledigt] Wrong case value in switch block in shiptree.js

Verfasst: 28. Dez 2021, 09:06
von Charles
Thanks - everything looks nice :)