mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-20 16:20:18 +01:00
Remove some unneeded print statements
This commit is contained in:
parent
ec841ce485
commit
c24da2bc76
3 changed files with 0 additions and 4 deletions
1
level.gd
1
level.gd
|
@ -68,7 +68,6 @@ func load(path):
|
||||||
var monospace_regex = RegEx.new()
|
var monospace_regex = RegEx.new()
|
||||||
monospace_regex.compile("\\n ([^\\n]*)")
|
monospace_regex.compile("\\n ([^\\n]*)")
|
||||||
description = monospace_regex.sub(description, "\n [code]$1[/code]", true)
|
description = monospace_regex.sub(description, "\n [code]$1[/code]", true)
|
||||||
print(description)
|
|
||||||
|
|
||||||
func construct():
|
func construct():
|
||||||
for r in repos:
|
for r in repos:
|
||||||
|
|
|
@ -147,8 +147,6 @@ func update_node_positions():
|
||||||
var hash_regex = RegEx.new()
|
var hash_regex = RegEx.new()
|
||||||
hash_regex.compile("[a-f0-9]+")
|
hash_regex.compile("[a-f0-9]+")
|
||||||
var regex_match = hash_regex.search(line)
|
var regex_match = hash_regex.search(line)
|
||||||
print(regex_match.get_string())
|
|
||||||
print(star_idx)
|
|
||||||
objects[regex_match.get_string()].position = Vector2(star_idx * 100 + 500, line_count * 100 + 500)
|
objects[regex_match.get_string()].position = Vector2(star_idx * 100 + 500, line_count * 100 + 500)
|
||||||
|
|
||||||
for ref in all_refs():
|
for ref in all_refs():
|
||||||
|
|
|
@ -54,7 +54,6 @@ func _ready():
|
||||||
history_position = game.state["history"].size()
|
history_position = game.state["history"].size()
|
||||||
|
|
||||||
func _input(event):
|
func _input(event):
|
||||||
#print(game.state)
|
|
||||||
if game.state["history"].size() > 0:
|
if game.state["history"].size() > 0:
|
||||||
if event.is_action_pressed("ui_up"):
|
if event.is_action_pressed("ui_up"):
|
||||||
if history_position > 0:
|
if history_position > 0:
|
||||||
|
|
Loading…
Reference in a new issue