notherbase-fs 3.0.5 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/views/scripts/base.js +2 -1
package/package.json
CHANGED
package/views/scripts/base.js
CHANGED
|
@@ -289,7 +289,7 @@ class Base {
|
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
do = async (what, data = null, route = window.location.pathname) => {
|
|
292
|
-
let response =
|
|
292
|
+
let response = Base.commune("/s/serve", {
|
|
293
293
|
script: what,
|
|
294
294
|
...data
|
|
295
295
|
}, {
|
|
@@ -299,6 +299,7 @@ class Base {
|
|
|
299
299
|
this.playerInventory.refresh();
|
|
300
300
|
this.playerAttributes.refresh();
|
|
301
301
|
|
|
302
|
+
await response;
|
|
302
303
|
return response;
|
|
303
304
|
}
|
|
304
305
|
|