Skip to content

Commit 2b1d14d

Browse files
Merge branch 'all-in-one-vs2022' into all-in-one-vs2022-wpo
2 parents f6a19c0 + 9847cb7 commit 2b1d14d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ How to compile exes:
188188
6. For successful compilation, **the latest build tools with MFC and ATL libraries is required**
189189
190190
## Changelog
191+
**2025.04.15**
192+
* Fixes (https://github.com/themrdemonized/xray-monolith/issues/168)
193+
* Lucy: Fixes (https://github.com/themrdemonized/xray-monolith/pull/167)
194+
191195
**2025.04.14**
192196
* Lucy: Fixes (https://github.com/themrdemonized/xray-monolith/pull/165)
193197

gamedata/scripts/aaaa_script_fixes_mp.script

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ function axr_trade_manager.npc_trade_buy_sell(npc)
148148
local itm,itm_base_cost,buy_sell, slot, bw,can_sell
149149
for sec,count in pairs(st.trade_items) do
150150
-- demonized: fixed count loop to go down
151+
local count = count or 0
151152
for i=count, 1, -1 do
152153
itm = npc:object(sec)
153154
if (itm) then
@@ -334,6 +335,7 @@ function axr_trade_manager.npc_tech_upgrade_sell(npc)
334335
local itm,itm_base_cost,buy_sell, slot, bw,can_sell
335336
for sec,count in pairs(st.tech_items) do
336337
-- demonized: fixed count loop to go down
338+
local count = count or 0
337339
for i=count, 1, -1 do
338340
itm = npc:object(sec)
339341
if (itm) then

0 commit comments

Comments
 (0)