From 3acfac770734e4000e93a5733f9118af3b169f1b Mon Sep 17 00:00:00 2001 From: Someone Date: Sat, 1 Jun 2019 20:30:13 +0200 Subject: [PATCH] Code reformatted. --- control.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/control.lua b/control.lua index 22617c1..002d805 100644 --- a/control.lua +++ b/control.lua @@ -1,5 +1,5 @@ - -script.on_event(defines.events.on_pre_player_died, function(event) - local player = game.players[event.player_index] - player.force.add_chart_tag(player.surface, {position=player.position, text='Corpse: '..player.name..'; Time: '..math.floor(game.tick/60/60/60)..':'..(math.floor(game.tick/60/60)%60), icon={type="virtual",name="signal-info"}}) -end) + +script.on_event(defines.events.on_pre_player_died, function(event) + local player = game.players[event.player_index] + player.force.add_chart_tag(player.surface, {position=player.position, text='Corpse: '..player.name..'; Time: '..math.floor(game.tick/60/60/60)..':'..(math.floor(game.tick/60/60)%60), icon={type="virtual",name="signal-info"}}) +end) -- 2.43.0