mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-01-01 04:31:40 +09:00
.
This commit is contained in:
@@ -54,5 +54,11 @@ if settings.startup['PHI-PB'].value then
|
|||||||
game.players[command.player_index][v.name] = game.players[command.player_index][v.name] + (bonus / 10)
|
game.players[command.player_index][v.name] = game.players[command.player_index][v.name] + (bonus / 10)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if (bonus > 0) then
|
||||||
|
if (player.character) then
|
||||||
|
player.ticks_to_respawn = 120
|
||||||
|
end
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user