Skip to content

Add dofile() to Lua

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