Skip to content

Commit

Permalink
Releave v1.3
Browse files Browse the repository at this point in the history
Changelog:
- Fix bug preventing damaged equipment from showing up in marketplaces
  • Loading branch information
jcsato committed Oct 18, 2022
1 parent 3666128 commit 9e401d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ REM NOTE: This is a DEVELOPER script. You don't need this just to play with the

set modname=sato_expanded_markets
set modkitdir=YOUR_MODKIT_BIN_PATH
set version=1.2
set version=1.3

echo.
echo Creating temporary directory...
Expand Down
4 changes: 2 additions & 2 deletions scripts/!mods_preload/!mod_sato_expanded_markets.nut
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
::mods_registerMod("sato_expanded_markets", 1.2, "Sato's Expanded Markets");
::mods_registerMod("sato_expanded_markets", 1.3, "Sato's Expanded Markets");

::mods_queue(null, null, function() {
::SEM_NORTHERN_BEAST_PARTS_LOW <- [
Expand Down Expand Up @@ -198,7 +198,7 @@
local fillStash = b.fillStash;

::mods_override(b, "fillStash", function(_list, _stash, _priceMult, _allowDamagedEquipment = false) {
fillStash(_list, _stash, _priceMult, _allowDamagedEquipment = false);
fillStash(_list, _stash, _priceMult, _allowDamagedEquipment);
foreach( item in _stash.getItems() ) {
if (item.getID() == "armor.head.greatsword_faction_helm" || item.getID() == "armor.head.faction_helm") {
local settlement = getSettlement();
Expand Down

0 comments on commit 9e401d4

Please sign in to comment.