1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

rulegen:: tests:: comments now available in .lst files

This commit is contained in:
Zeno Rogue 2021-08-17 14:35:31 +02:00
parent 9fafad3ee0
commit 943682f1d5

View File

@ -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;