Displays current gamemode in game (toggle)

This commit is contained in:
Boshi
2020-12-16 22:21:26 -05:00
parent ba5f78d5f1
commit 1bf8f91ef2
2 changed files with 5 additions and 0 deletions

View File

@@ -68,6 +68,10 @@ function GameScene:render()
self.game:drawCustom()
love.graphics.setFont(font_3x5_2)
if config.gamesettings.display_gamemode == 1 then
love.graphics.printf(self.game.name .. " - " .. self.ruleset.name, 0, 460, 640, "left")
end
end
function GameScene:onInputPress(e)