mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
.
This commit is contained in:
@@ -77,7 +77,7 @@ local function apply_periodic_bonus(player)
|
|||||||
if vlayer.get_statistics()["energy_sustained"] > 0 then
|
if vlayer.get_statistics()["energy_sustained"] > 0 then
|
||||||
local armor = player.get_inventory(defines.inventory.character_armor)
|
local armor = player.get_inventory(defines.inventory.character_armor)
|
||||||
|
|
||||||
if armor then
|
if armor and armor[1] then
|
||||||
local armor_grid = armor[1].grid
|
local armor_grid = armor[1].grid
|
||||||
|
|
||||||
if armor_grid then
|
if armor_grid then
|
||||||
|
|||||||
Reference in New Issue
Block a user