mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-29 07:19:23 +01:00
Plugin/Battleship: fix show_battlefield() sub signature
This commit is contained in:
parent
d4880854db
commit
4b5e3d0d41
@ -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");
|
$self->{pbot}->{logger}->log("Showing battlefield for player $player_index\n");
|
||||||
|
|
||||||
my $player;
|
my $player;
|
||||||
|
@ -25,8 +25,8 @@ use PBot::Imports;
|
|||||||
# These are set by the /misc/update_version script
|
# These are set by the /misc/update_version script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 4703,
|
BUILD_REVISION => 4704,
|
||||||
BUILD_DATE => "2024-02-22",
|
BUILD_DATE => "2024-03-05",
|
||||||
};
|
};
|
||||||
|
|
||||||
sub initialize {}
|
sub initialize {}
|
||||||
|
Loading…
Reference in New Issue
Block a user