Skip to content

Commit 6bbe840

Browse files
committed
Avoid a warning in wizard.pl
no fix the the actual problems yet
1 parent 62bfdc9 commit 6bbe840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

categories/games/wizard.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ sub cls {
114114
$enemy.life.say;
115115
say $enemy.name, " is attacking you! What will you do?";
116116

117-
until ($choice eq 'f' or $enemy.dead) {
117+
until ($choice //'') eq 'f' or $enemy.dead {
118118
my @options;
119119
for @.weapons -> $wep {
120120
@options.push(

0 commit comments

Comments
 (0)