Skip to content

Commit e26f5b9

Browse files
authored
1.3.1
- fix pt_spawner being the last checked template name if none was actually found
1 parent 89a4a2f commit e26f5b9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

entwatch_maker.smx

19 Bytes
Binary file not shown.

entwatch_maker.sp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public Plugin myinfo =
88
name = "EntWatch Config Maker",
99
author = "tilgep",
1010
description = "Makes a basic EntWatch config for the current map.",
11-
version = "1.3",
11+
version = "1.3.1",
1212
url = "https://github.com/tilgep/EntWatch-Maker"
1313
};
1414

@@ -304,6 +304,7 @@ public int LoadConfig()
304304

305305
delete template;
306306
}
307+
if(!found) templatename[0] = '\0';
307308
}
308309

309310
file.WriteLine("\t\"%d\"", index);

0 commit comments

Comments
 (0)