mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-31 20:21: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)
|
||||
end
|
||||
end
|
||||
|
||||
if (bonus > 0) then
|
||||
if (player.character) then
|
||||
player.ticks_to_respawn = 120
|
||||
end
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user