From 01a26cad5f0abcd9aeb010ba91d33bcdb570256f Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 6 Dec 2023 20:14:24 -0800 Subject: redo version checks This is still ugly, but hopefully easier to follow. --- reference.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'reference.md') diff --git a/reference.md b/reference.md index 4dde57d..916c8f4 100644 --- a/reference.md +++ b/reference.md @@ -11,6 +11,9 @@ automatically called for you as appropriate. * `flags` -- some properties of the app window. See [`flags` in `love.graphics.getMode`](https://love2d.org/wiki/love.window.getMode) for details. +* `Version` -- the running version of LÖVE as a string, e.g. '11.4'. +* `Major_version` -- just the part before the period as an int, e.g. 11. + ## Functions that get automatically called * `App.initialize_globals()` -- called before running each test and also -- cgit 1.4.1-2-gfad0