Explorar el Código

Fixes #118

tags/v0.1.3^2
Big Bad Waffle hace 7 años
padre
commit
9ce32103eb
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/server/components/trade.js

+ 2
- 2
src/server/components/trade.js Ver fichero

@@ -66,7 +66,7 @@ define([
if ((target != null) && (target.id == null))
target = this.obj.instance.objects.objects.find(o => o.id == target);
else if (targetName != null)
target = this.obj.instance.objects.objects.find(o => o.name.toLowerCase() == targetName);
target = this.obj.instance.objects.objects.find(o => ((o.name) && (o.name.toLowerCase() == targetName)));

this.target = null;

@@ -230,7 +230,7 @@ define([
if ((target != null) && (target.id == null))
target = this.obj.instance.objects.objects.find(o => o.id == target);
else if (targetName != null)
target = this.obj.instance.objects.objects.find(o => o.name.toLowerCase() == targetName);
target = this.obj.instance.objects.objects.find(o => ((o.name) && (o.name.toLowerCase() == targetName)));

this.target = null;



Cargando…
Cancelar
Guardar