still need to error when required .skip not attached to .exe <_<

This commit is contained in:
DaniTheSkunk 2023-03-22 04:26:17 +00:00
parent 7b35a3475c
commit 2606a344b8
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ void sw_init(int argc, char *argv[]) {
if(!init) { if(!init) {
assert_types(); assert_types();
sw_skip_self = sw_skip_load(argv[0]); sw_skip_self = sw_skip_load(argv[0]);
if(!sw_skip_self) {
sw_error("no .skip attached to exe");
}
init = true; init = true;
} }
} }