From c724dc146e8391018e768542213fa1ec85ecb43b Mon Sep 17 00:00:00 2001 From: Y-Less Date: Fri, 11 Mar 2022 10:42:52 +0000 Subject: [PATCH] Add ".pwn" to the official list of extensions. It is used by almost all scripts, so why shouldn't it be officially supported? --- source/compiler/sc2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/compiler/sc2.c b/source/compiler/sc2.c index 0895dfa..62b440e 100644 --- a/source/compiler/sc2.c +++ b/source/compiler/sc2.c @@ -134,7 +134,7 @@ SC_FUNC void clearstk(void) SC_FUNC int plungequalifiedfile(char *name) { -static char extensions[][6] = { "", ".inc", ".p", ".pawn" }; + static char extensions[][6] = { "", ".inc", ".p", ".pawn", ".pwn" }; int found; struct stat st; FILE *fp;