fix typo that broke gun

This commit is contained in:
ZappoMan 2017-03-24 09:58:56 -07:00
parent bc331af6a0
commit 84836d9331

View file

@ -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