projects
/
aymargeddon
/
current.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some bugs with json fixed
[aymargeddon/current.git]
/
src
/
Aymargeddon.pm
diff --git
a/src/Aymargeddon.pm
b/src/Aymargeddon.pm
index
e4fa7d1
..
c137c42
100644
(file)
--- a/
src/Aymargeddon.pm
+++ b/
src/Aymargeddon.pm
@@
-47,10
+47,10
@@
sub new{
sub get_map{
my $self = shift;
sub get_map{
my $self = shift;
-
+
unless (exists $self->{-map}){
unless (exists $self->{-map}){
- #
TODO: HOME dupplication correct?
- $self->{-map} = $self->read_map("TERRAIN,HOME,OCCUPANT,TEMPLE,PLAGUE,HOME");
+ #TODO: HOME dupplication correct?
+
$self->{-map} = $self->read_map("TERRAIN,HOME,OCCUPANT,TEMPLE,PLAGUE,HOME");
}
return $self->{-map};
}
}
return $self->{-map};
}