3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 11:59:43 +01:00

Plugin/Battleship: fix show_battlefield() sub signature

This commit is contained in:
Pragmatic Software 2024-03-05 21:01:32 -08:00
parent d4880854db
commit 4b5e3d0d41
No known key found for this signature in database
GPG Key ID: CC916B6E3C84ECCE
2 changed files with 3 additions and 3 deletions

View File

@ -970,7 +970,7 @@ sub show_scoreboard($self) {
}
}
sub show_battlefield($self, $player_index, $nick) {
sub show_battlefield($self, $player_index, $nick = undef) {
$self->{pbot}->{logger}->log("Showing battlefield for player $player_index\n");
my $player;

View File

@ -25,8 +25,8 @@ use PBot::Imports;
# These are set by the /misc/update_version script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 4703,
BUILD_DATE => "2024-02-22",
BUILD_REVISION => 4704,
BUILD_DATE => "2024-03-05",
};
sub initialize {}