mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 01:22:25 +02:00
fix typo that broke gun
This commit is contained in:
parent
bc331af6a0
commit
84836d9331
1 changed files with 2 additions and 3 deletions
|
@ -151,8 +151,7 @@
|
|||
});
|
||||
}, randFloat(10, 200));
|
||||
}
|
||||
var isDynamic = Entites.getEntityProperties(intersection.entityID, "dynamic").dynamic;
|
||||
|
||||
var isDynamic = Entities.getEntityProperties(intersection.entityID, "dynamic").dynamic;
|
||||
if (isDynamic === 1) {
|
||||
// Any dynamic entity can be shot
|
||||
Entities.editEntity(intersection.entityID, {
|
||||
|
@ -349,7 +348,7 @@
|
|||
this.laser = Overlays.addOverlay("line3d", {
|
||||
start: ZERO_VECTOR,
|
||||
end: ZERO_VECTOR,
|
||||
color: COLORS.RED,
|
||||
color: { red: 255, green: 0, blue: 0},
|
||||
alpha: 1,
|
||||
visible: true,
|
||||
lineWidth: 2
|
||||
|
|
Loading…
Reference in a new issue