You've put # as the "armor" item but you also use # in your loadmap parser as endline indicators. So your second cave map crashes on entering.
Recommend rewriting the parser to handle endlines some other way. Honestly, you could do without endline characters at all given each line is a known length.
You've put # as the "armor" item but you also use # in your loadmap parser as endline indicators. So your second cave map crashes on entering.
Recommend rewriting the parser to handle endlines some other way. Honestly, you could do without endline characters at all given each line is a known length.