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:
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");
|
||||
|
||||
my $player;
|
||||
|
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user