This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitlord
/
isleward
mirror of
https://gitlab.com/Isleward/isleward.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
203
Wiki
Activity
Browse Source
Merge branch 'bug/sell/equipped' into 'master'
Fixed
#1
Closes
#1
See merge request
!1
tags/v0.1.2
Big Bad Waffle
7 years ago
parent
d4e2af1c45
97a8174406
commit
f434ec990e
2 changed files
with
1 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-3
src/client/ui/templates/trade/trade.js
+1
-1
src/server/components/trade.js
+ 0
- 3
src/client/ui/templates/trade/trade.js
View File
@@ -111,9 +111,6 @@ define([
},
onClick: function(el, item, action, e) {
//if ((action == 'buy') && (item.worth > window.player.trade.gold))
// return;
el.addClass('disabled');
client.request({
+ 1
- 1
src/server/components/trade.js
View File
@@ -239,7 +239,7 @@ define([
this.obj.syncer.set(true, 'trade', 'sellList', {
markup: target.trade.markup.buy,
items: this.obj.inventory.items
items: this.obj.inventory.items
.filter(i => ((i.worth > 0) && (!i.eq)))
});
},
Write
Preview
Loading…
Cancel
Save