diff --git a/Makefile b/Makefile index 4f91c8d..d5f0c22 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION := 1.0.0 +VERSION := 1.0.1 NAME := marathon all: clean build install_mod diff --git a/info.json b/info.json index 7ba1955..b378669 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "marathon", - "version": "1.0.0", + "version": "1.0.1", "title": "Marathon Mod", "author": "Benoit Girard & Afforess", "contributors": ["Wulfson", "KeepOnDigging", "gheift"], diff --git a/prototypes/bobsmods/item.lua b/prototypes/bobsmods/item.lua index 46dc78a..55616fa 100644 --- a/prototypes/bobsmods/item.lua +++ b/prototypes/bobsmods/item.lua @@ -1,2 +1,6 @@ -data.raw.item["carbon"].fuel_value = "2.5MJ" -data.raw.item["liquid-fuel-canister"].fuel_value = "50MJ" +if data.raw.item["carbon"] then + data.raw.item["carbon"].fuel_value = "2.5MJ" +end +if data.raw.item["liquid-fuel-canister"] then + data.raw.item["liquid-fuel-canister"].fuel_value = "50MJ" +end