mirror of
https://github.com/Steffo99/noita-starting-perk.git
synced 2024-11-23 06:14:17 +00:00
Remove debug msgs
This commit is contained in:
parent
3d91c73ba7
commit
a300f2d316
1 changed files with 0 additions and 4 deletions
4
init.lua
4
init.lua
|
@ -34,8 +34,6 @@ function OnPlayerSpawned( player_entity )
|
||||||
-- Ceil makes it wider instead of taller
|
-- Ceil makes it wider instead of taller
|
||||||
local rows = math.ceil(math.sqrt(perks_amount))
|
local rows = math.ceil(math.sqrt(perks_amount))
|
||||||
|
|
||||||
GamePrint("Spawning rows: "..tostring(rows))
|
|
||||||
|
|
||||||
-- Draw perk rows
|
-- Draw perk rows
|
||||||
for current_row = 1, rows, 1 do
|
for current_row = 1, rows, 1 do
|
||||||
|
|
||||||
|
@ -49,8 +47,6 @@ function OnPlayerSpawned( player_entity )
|
||||||
cols = rows
|
cols = rows
|
||||||
end
|
end
|
||||||
|
|
||||||
GamePrint("Spawning cols: " .. tostring(cols))
|
|
||||||
|
|
||||||
-- If there is something to spawn
|
-- If there is something to spawn
|
||||||
if cols ~= 0 then
|
if cols ~= 0 then
|
||||||
-- Find the total row width
|
-- Find the total row width
|
||||||
|
|
Loading…
Reference in a new issue