mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-17 04:35:44 +02:00
hit target
This commit is contained in:
parent
67632fa589
commit
09527cc264
1 changed files with 0 additions and 1 deletions
|
@ -307,7 +307,6 @@ function entityCollisionWithEntity(entity1, entity2, collision) {
|
|||
if (((entity1.id == bulletID.id) || (entity1.id == targetID.id)) &&
|
||||
((entity2.id == bulletID.id) || (entity2.id == targetID.id))) {
|
||||
score++;
|
||||
print("Hit Target!");
|
||||
if (showScore) {
|
||||
Overlays.editOverlay(text, { text: "Score: " + score } );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue