mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 19:45:23 -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();
|
Keys = new KeyMap();
|
||||||
Hotkeys = new HotkeyList();
|
Hotkeys = new HotkeyList();
|
||||||
Hotkeys.LoadSavedHotkeys();
|
Hotkeys.LoadSavedHotkeys();
|
||||||
picking = new PickingHandler( game );
|
picking = new PickingHandler( game, this );
|
||||||
}
|
}
|
||||||
|
|
||||||
void RegisterInputHandlers() {
|
void RegisterInputHandlers() {
|
||||||
|
@ -10,9 +10,9 @@ namespace ClassicalSharp {
|
|||||||
|
|
||||||
Game game;
|
Game game;
|
||||||
InputHandler input;
|
InputHandler input;
|
||||||
public PickingHandler( Game game ) {
|
public PickingHandler( Game game, InputHandler input ) {
|
||||||
this.game = game;
|
this.game = game;
|
||||||
input = game.InputHandler;
|
this.input = input;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal DateTime lastClick = DateTime.MinValue;
|
internal DateTime lastClick = DateTime.MinValue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user