mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 11:06:06 -04:00
Quick fix for client not working in multiplayer. (Thanks MrGoober)
This commit is contained in:
parent
bdbe0e0337
commit
131b18bc67
@ -20,7 +20,7 @@ namespace ClassicalSharp {
|
||||
Keys = new KeyMap();
|
||||
Hotkeys = new HotkeyList();
|
||||
Hotkeys.LoadSavedHotkeys();
|
||||
picking = new PickingHandler( game );
|
||||
picking = new PickingHandler( game, this );
|
||||
}
|
||||
|
||||
void RegisterInputHandlers() {
|
||||
|
@ -10,9 +10,9 @@ namespace ClassicalSharp {
|
||||
|
||||
Game game;
|
||||
InputHandler input;
|
||||
public PickingHandler( Game game ) {
|
||||
public PickingHandler( Game game, InputHandler input ) {
|
||||
this.game = game;
|
||||
input = game.InputHandler;
|
||||
this.input = input;
|
||||
}
|
||||
|
||||
internal DateTime lastClick = DateTime.MinValue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user