[0.13.13] on_player_left_game and no character
Posted: Wed Aug 03, 2016 2:17 pm
Hi,
it seems that in event on_player_left_game, the player.character already does not exist, which is not very handy if we want to modify a few things before lefting game.
For example, I cannot use player.character_running_speed_modifier = 0 in my ProgressiveRunning mod, in order to left the player in a good speed in case of uninstallation of my mod. So that when he will reconnect, he will have the good character_running_speed_modifier and now a slow one.
it seems that in event on_player_left_game, the player.character already does not exist, which is not very handy if we want to modify a few things before lefting game.
For example, I cannot use player.character_running_speed_modifier = 0 in my ProgressiveRunning mod, in order to left the player in a good speed in case of uninstallation of my mod. So that when he will reconnect, he will have the good character_running_speed_modifier and now a slow one.