Merge branch 'expose-modversion-to-lua' into 'next'

Expose MODVERSION to Lua (because for some reason it wasn't).

See merge request STJr/SRB2!1158
This commit is contained in:
James R 2020-10-08 21:57:38 -04:00
commit 933381fb8f
1 changed files with 1 additions and 0 deletions

View File

@ -9517,6 +9517,7 @@ struct {
{"RING_DIST",RING_DIST},
{"PUSHACCEL",PUSHACCEL},
{"MODID",MODID}, // I don't know, I just thought it would be cool for a wad to potentially know what mod it was loaded into.
{"MODVERSION",MODVERSION}, // or what version of the mod this is.
{"CODEBASE",CODEBASE}, // or what release of SRB2 this is.
{"NEWTICRATE",NEWTICRATE}, // TICRATE*NEWTICRATERATIO
{"NEWTICRATERATIO",NEWTICRATERATIO},