done for tonight
This commit is contained in:
+1
-2
@@ -6,8 +6,7 @@ local function winner()
|
||||
|
||||
if _G.P1_WIN then
|
||||
s = "P1 Win! R - Restart"
|
||||
end
|
||||
if _G.P2_WIN then
|
||||
elseif _G.P2_WIN then
|
||||
s = "P2 Win! R - Restart"
|
||||
end
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
function WinKeyPressed(key)
|
||||
if key == "r" then
|
||||
RestartGame()
|
||||
_G.GAMESTATE = "GAME"
|
||||
love.load()
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user