mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 07:09:02 -06:00
Global random for visual part in Marathon C99
This commit is contained in:
parent
52473c2787
commit
c84635a007
@ -330,9 +330,9 @@ function MarathonC99Game:drawScoringInfo()
|
|||||||
{1, 1, 1, 1}
|
{1, 1, 1, 1}
|
||||||
)
|
)
|
||||||
love.graphics.printf(
|
love.graphics.printf(
|
||||||
(self.slots[1] and self.slots[1] or love.math.random(4)) .. " " ..
|
(self.slots[1] and self.slots[1] or math.random(4)) .. " " ..
|
||||||
(self.slots[2] and self.slots[2] or love.math.random(4)) .. " " ..
|
(self.slots[2] and self.slots[2] or math.random(4)) .. " " ..
|
||||||
love.math.random(4),
|
math.random(4),
|
||||||
240, 80, 100, "left")
|
240, 80, 100, "left")
|
||||||
love.graphics.setColor(1,1,1,1)
|
love.graphics.setColor(1,1,1,1)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user