AAH
This commit is contained in:
parent
240c36df23
commit
6a06e0bb13
@ -74,7 +74,7 @@ fn init(players, world) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
ctx.add_event_listener("player_leave", |event| {
|
ctx.add_event_listener("player_leave", |event| {
|
||||||
if player_data != () {
|
if playerData[event.player.to_string()] != () {
|
||||||
playerData[event.player.to_string()].command_step = 0;
|
playerData[event.player.to_string()].command_step = 0;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user