Add Galoshes slowdown over slippery surfaces (#30967)
* first draft * Fixed it all, just need to rename stuff * Rename and add comments * Clean-up * Access added
This commit is contained in:
@@ -158,7 +158,7 @@ public sealed partial class SleepingSystem : EntitySystem
|
||||
|
||||
private void OnSlip(Entity<SleepingComponent> ent, ref SlipAttemptEvent args)
|
||||
{
|
||||
args.Cancel();
|
||||
args.NoSlip = true;
|
||||
}
|
||||
|
||||
private void OnConsciousAttempt(Entity<SleepingComponent> ent, ref ConsciousAttemptEvent args)
|
||||
|
||||
Reference in New Issue
Block a user