summarylogtreecommitdiffstats
path: root/daggerfall-launcher.pl
diff options
context:
space:
mode:
Diffstat (limited to 'daggerfall-launcher.pl')
-rwxr-xr-xdaggerfall-launcher.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/daggerfall-launcher.pl b/daggerfall-launcher.pl
index 9df29a211d26..db612dd84c84 100755
--- a/daggerfall-launcher.pl
+++ b/daggerfall-launcher.pl
@@ -726,7 +726,7 @@ sub get_archived_saves
if ( ! exists $saves{$slot}{$name} ) {
$saves{$slot}{$name} = [];
}
- push($saves{$slot}{$name}, $date);
+ push(@{$saves{$slot}{$name}}, $date);
}
}
return %saves;
@@ -1724,7 +1724,7 @@ if ($opt_list_archived_saves) {
} else {
foreach my $slot (sort keys %saves) {
print "Archived saves from slot $slot\n\n";
- foreach my $name (sort keys $saves{$slot}) {
+ foreach my $name (sort keys @{$saves{$slot}}) {
print " saves named $name\n\n";
foreach my $date (sort @{$saves{$slot}{$name}}) {
$date =~ s/_/./;