Skip to content

Commit

Permalink
Merge 65c9255 into 38ec018
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Jul 14, 2020
2 parents 38ec018 + 65c9255 commit 77aa2ed
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions api/hooks/discordBot/commands/sdtd/serverInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,18 @@ class ServerInfo extends Commando.Command {

switch (serverInfo.serverInfo.DropOnDeath) {
case 0:
serverInfo.serverInfo.DropOnDeath = 'Drop all';
serverInfo.serverInfo.DropOnDeath = 'Nothing';
break;
case 1:
serverInfo.serverInfo.DropOnDeath = 'Belt';
serverInfo.serverInfo.DropOnDeath = 'Everything';
break;
case 2:
serverInfo.serverInfo.DropOnDeath = 'Backpack';
serverInfo.serverInfo.DropOnDeath = 'Toolbelt only';
break;
case 3:
serverInfo.serverInfo.DropOnDeath = 'Backpack only';
break;
case 4:
serverInfo.serverInfo.DropOnDeath = 'Delete all';
break;
}
Expand Down

0 comments on commit 77aa2ed

Please sign in to comment.