player calculates score

This commit is contained in:
mightypanders 2021-06-12 23:28:39 +02:00
parent e6626fe60d
commit 31802c51ad

View File

@ -42,9 +42,12 @@ func get_a_springjoint(parent,child):
return springJoint
func get_score_from_guest(guest):
var now = OS.get_system_time_msecs()
var diff = now - guest.pickup_time
var score = diff / 1000
score = 50 - score
return score
return 1
func remove_Guests_from_Line(color):
var colormatches = []