Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.
/ DDLC-LOVE Public archive

Commit

Permalink
love._console_name
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeeGD committed May 29, 2020
1 parent 82a1f99 commit fd9d9d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion game/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ if lutro then
t.height = 272
end
end
global_os, g_system = love.system.getOS()
global_os = love.system.getOS()
g_system = love._console_name
if g_system == 'Switch' then
joysticks = love.joystick.getJoysticks()
joystick = joysticks[1]
Expand Down

0 comments on commit fd9d9d7

Please sign in to comment.