Skip to content

Commit

Permalink
Fix late load scripts not working (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtxfellen authored Nov 16, 2024
1 parent cad7eca commit 527aa4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/vscripts/serverinit.nut
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,9 @@ function __potato::OnEntitiesSpawned() {
if (nobreak) {
try {
IncludeScript("potato/" + fp, include[1])
return
} catch (e) {
if (startswith(e, "Failed to include script \"potato/" + fp))
return
continue
throw e
}
}
Expand Down

0 comments on commit 527aa4a

Please sign in to comment.