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

The wiki even states its existence!
This commit is contained in:
GoldenTails 2020-09-23 22:28:29 -05:00
parent 90302330ed
commit 021061d80b

View file

@ -9517,6 +9517,7 @@ struct {
{"RING_DIST",RING_DIST}, {"RING_DIST",RING_DIST},
{"PUSHACCEL",PUSHACCEL}, {"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. {"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. {"CODEBASE",CODEBASE}, // or what release of SRB2 this is.
{"NEWTICRATE",NEWTICRATE}, // TICRATE*NEWTICRATERATIO {"NEWTICRATE",NEWTICRATE}, // TICRATE*NEWTICRATERATIO
{"NEWTICRATERATIO",NEWTICRATERATIO}, {"NEWTICRATERATIO",NEWTICRATERATIO},