Added function to reset radio buttons

This commit is contained in:
Cooldude2606 committed 2017-12-15 21:46:45 +00:00
1 parent 5a3d2a496a
commit 4f12463c73
2 files changed
+29 -1

No files matched your search

+1
View File
@@ -125,6 +125,7 @@ function Ranking.give_rank(player,rank,by_player,tick)
if not old_rank.group.name == 'Jail' then Ranking._presets().old[player.index] = rank.name end
if defines.events.rank_change then
script.raise_event(defines.events.rank_change,{
name=defines.events.rank_change,
tick=tick,
player_index=player.index,
by_player_name=by_player_name,