This commit is contained in:
phidias authored and GitHub committed 2026-11-10 00:12:34 +09:00
1 parent 66722c8291
commit 2ab8b0003e
2 files changed
+17 -17

No files matched your search

+1 -1
View File
@@ -516,7 +516,7 @@ end
--- Apply periodic bonus to a player
--- @param player LuaPlayer
local function apply_personal_battery_recharge(player)
local available_energy = Vlayer.get_statistics().energy_storage
local available_energy = Vlayer.get_statistics(player.physical_surface_index).energy_storage
if available_energy <= 0 then
return -- No power to give
end