add the respawn key to marble/client/scripts/default.bind.cs
TODO: make this rebindable
This commit is contained in:
parent
f7658cb243
commit
d80a53951f
|
@ -40,6 +40,9 @@ function escapeFromGame()
|
||||||
|
|
||||||
moveMap.bindCmd(keyboard, "escape", "", "escapeFromGame();");
|
moveMap.bindCmd(keyboard, "escape", "", "escapeFromGame();");
|
||||||
|
|
||||||
|
// respawn key TODO: make this one remapable
|
||||||
|
// usage: bindCmd(device, action, onDown, onUp)
|
||||||
|
moveMap.bindCmd(keyboard, "r", "", "if($Game::State !$= \"End\"){ClientGroup.getObject(0).respawnPlayer();}");
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Movement Keys
|
// Movement Keys
|
||||||
|
|
Loading…
Reference in New Issue