A bit of cleanup

master
Marc Gilleron 2020-08-17 20:16:57 +01:00
parent 4df06b6637
commit 0ce7362387
5 changed files with 3 additions and 5 deletions

View File

@ -19,7 +19,7 @@ func stop():
hide()
func _process(delta):
func _process(_delta):
var mpos = get_parent().get_local_mouse_position()
rect_position = mpos - rect_size / 2.0

View File

@ -12,4 +12,3 @@ func duplicate():
d.type = type
d.id = id
return d

View File

@ -51,7 +51,7 @@ func _ready():
_voxel_tool.set_channel(VoxelBuffer.CHANNEL_TYPE)
func _process(delta):
func _process(_delta):
#var time_before = OS.get_ticks_usec()
_grass_dirs.shuffle()

View File

@ -51,7 +51,6 @@ func _process(delta: float):
func _do_process_queue():
# TODO Sometimes things don't update... of course
var update_count = 0
if _process_index >= len(_process_queue):

View File

@ -2,7 +2,7 @@ extends Sprite
# TODO Get rid if this once viewport modes get fixed!
func _process(delta):
func _process(_delta):
var rect = get_viewport().get_visible_rect()
position = rect.size/2.0