mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
rulegen:: tests:: comments now available in .lst files
This commit is contained in:
parent
9fafad3ee0
commit
943682f1d5
@ -466,7 +466,7 @@ void test_from_file(string list) {
|
||||
std::ifstream is("devmods/rulegen-tests/" + list + ".lst");
|
||||
string s;
|
||||
while(getline(is, s)) {
|
||||
if(s != "") filenames.push_back(s);
|
||||
if(s != "" && s[0] != '#') filenames.push_back(s);
|
||||
}
|
||||
int trv = test_rotate_val;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user