mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-07 00:41:26 +00:00
Expose MODVERSION to Lua (because for some reason it wasn't).
The wiki even states its existence!
This commit is contained in:
parent
90302330ed
commit
021061d80b
1 changed files with 1 additions and 0 deletions
|
@ -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},
|
||||||
|
|
Loading…
Reference in a new issue