Remove line from debug
This commit is contained in:
parent
5b21607bd6
commit
e5b01a95c0
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ function update(self, dt)
|
||||||
|
|
||||||
--testing points for jumping over curse
|
--testing points for jumping over curse
|
||||||
local curse_result = physics.raycast(feet, curse, { hash("curse") })
|
local curse_result = physics.raycast(feet, curse, { hash("curse") })
|
||||||
msg.post("@render:", "draw_line", { start_point = feet, end_point = curse, color = vmath.vector4(1,0,0,1) })
|
--msg.post("@render:", "draw_line", { start_point = feet, end_point = curse, color = vmath.vector4(1,0,0,1) })
|
||||||
if curse_result and self.scored_jump == false then
|
if curse_result and self.scored_jump == false then
|
||||||
msg.post("main:/controller#main", "add 10 points")
|
msg.post("main:/controller#main", "add 10 points")
|
||||||
self.scored_jump = true
|
self.scored_jump = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue