Browse Source

fixed an issue caused by a merge

tags/v0.3.3.1
Shaun Kichenbrand 4 years ago
parent
commit
1218a0059f
2 changed files with 0 additions and 8 deletions
  1. +0
    -4
      src/server/config/spells/spellFireblast.js
  2. +0
    -4
      src/server/security/ioRethink.js

+ 0
- 4
src/server/config/spells/spellFireblast.js View File

@@ -17,10 +17,6 @@ module.exports = {

this.obj.fireEvent('beforeSpawnParticles', this, particleConfig);

const particleConfig = extend({}, this.particles);

this.obj.fireEvent('beforeSpawnParticles', this, particleConfig);

for (let i = x - radius; i <= x + radius; i++) {
for (let j = y - radius; j <= y + radius; j++) {
if (!physics.hasLos(~~x, ~~y, ~~i, ~~j))


+ 0
- 4
src/server/security/ioRethink.js View File

@@ -128,8 +128,6 @@ module.exports = {
key,
table
}) {
const con = await this.getConnection();

await r.table(table)
.get(key)
.delete()
@@ -172,8 +170,6 @@ module.exports = {
table,
key
}) {
const con = await this.getConnection();

let res = await r.table(table)
.get(key)
.run();


Loading…
Cancel
Save