Skip to content

Commit 571da72

Browse files
committed
Remove test code
1 parent 704dc27 commit 571da72

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

nimrpg.nim

+1-5
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
]#
1414
import view, d20
1515

16-
init("NimRPG", "Testing...\n")
16+
init("NimRPG")
1717

1818
main_loop()
19-
20-
echo roll_dice(Dice.D8)
21-
22-
echo roll_dice(Dice.D20, 8)

view.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ proc handle_input() : bool =
236236
# Exported procs
237237
#########################################################################
238238

239-
proc init*(title : string, message: string) : void =
239+
proc init*(title : string) : void =
240240
console_init_root(SCREEN_WIDTH, SCREEN_HEIGHT, title, false)
241241
main_console = console_new(SCREEN_WIDTH, SCREEN_HEIGHT)
242242
sys_set_fps(LIMIT_FPS)

0 commit comments

Comments
 (0)