Do the same thing again
This commit is contained in:
parent
c741f0e494
commit
bd70b1f55b
@ -74,7 +74,6 @@ fn init(players, world) {
|
|||||||
return event;
|
return event;
|
||||||
});
|
});
|
||||||
|
|
||||||
// NOTE: Currently this doesn't work, as player_leave isn't implemented
|
|
||||||
ctx.add_event_listener("player_leave", |event| {
|
ctx.add_event_listener("player_leave", |event| {
|
||||||
playerData[event.player.to_string()].command_step = 0;
|
playerData[event.player.to_string()].command_step = 0;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user