Adds ragdoll button. Because why not.
Also adds admin ragdoll command to force people into ragdoll mode. The networking/syncing wasn't yet tested for this but hopefully everything should work. Updates config.xml to add default keybinds for radio chat and ragdoll
This commit is contained in:
@@ -109,6 +109,10 @@ namespace Barotrauma
|
||||
|
||||
TransformCursorPos();
|
||||
}
|
||||
bool ragdollInput = msg.ReadBoolean();
|
||||
keys[(int)InputType.Ragdoll].Held = ragdollInput;
|
||||
keys[(int)InputType.Ragdoll].SetState(false, ragdollInput);
|
||||
|
||||
facingRight = msg.ReadBoolean();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user