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:
@@ -21,7 +21,7 @@ public abstract class SharedGodmodeSystem : EntitySystem
|
||||
|
||||
private void OnSlipAttempt(EntityUid uid, GodmodeComponent component, SlipAttemptEvent args)
|
||||
{
|
||||
args.Cancel();
|
||||
args.NoSlip = true;
|
||||
}
|
||||
|
||||
private void OnBeforeDamageChanged(EntityUid uid, GodmodeComponent component, ref BeforeDamageChangedEvent args)
|
||||
|
||||
Reference in New Issue
Block a user