mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-21 23:33:12 +09:00
Respawn 2 seconds
This commit is contained in:
1 parent
67aaf2cd51
commit
0ba546fa91
1 file changed
+1
-1
@@ -54,6 +54,6 @@ end)
|
|||||||
Event.register(defines.events.on_pre_player_died,function(event)
|
Event.register(defines.events.on_pre_player_died,function(event)
|
||||||
local player = Game.get_player(event)
|
local player = Game.get_player(event)
|
||||||
if Ranking.get_rank(player):allowed('bonus-respawn') then
|
if Ranking.get_rank(player):allowed('bonus-respawn') then
|
||||||
player.ticks_to_respawn = 60
|
player.ticks_to_respawn = 120
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
Reference in new issue
Block a user