Skip to content
Snippets Groups Projects

Add dofile() to Lua

Merged LJ Sonic requested to merge dofile into next

This lets PK3 files (not WAD and other formats) decide of the order in which to load their Lua scripts, by creating a Init.lua entry at the root (actual root, not the Lua folder) and then calling dofile("Path/To/Some/Script.lua") to load individual scripts (inside the Lua folder this time).

Edited by LJ Sonic

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading