K2: Fix crash due to wrong call of get_setting
This commit is contained in:
parent
383fca46b5
commit
746d949dfd
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ if util.me.ammo() then
|
||||||
end
|
end
|
||||||
table.insert(mag, {type="fluid", name="heavy-oil", amount=ct})
|
table.insert(mag, {type="fluid", name="heavy-oil", amount=ct})
|
||||||
|
|
||||||
if not util.k2() or not util.get_setting("kr-more-realistic-weapon") then
|
if not util.k2() or not util.me.get_setting("kr-more-realistic-weapon") then
|
||||||
table.insert(mag, util.item("piercing-rounds-magazine", ct))
|
table.insert(mag, util.item("piercing-rounds-magazine", ct))
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue