Make use-in-hand default to activation interactions. (#5951)
This commit is contained in:
@@ -26,7 +26,6 @@ namespace Content.Server.Dice
|
||||
|
||||
SubscribeLocalEvent<DiceComponent, ComponentInit>(OnComponentInit);
|
||||
SubscribeLocalEvent<DiceComponent, ActivateInWorldEvent>(OnActivate);
|
||||
SubscribeLocalEvent<DiceComponent, UseInHandEvent>(OnUse);
|
||||
SubscribeLocalEvent<DiceComponent, LandEvent>(OnLand);
|
||||
SubscribeLocalEvent<DiceComponent, ExaminedEvent>(OnExamined);
|
||||
}
|
||||
@@ -42,11 +41,6 @@ namespace Content.Server.Dice
|
||||
Roll(uid, component);
|
||||
}
|
||||
|
||||
private void OnUse(EntityUid uid, DiceComponent component, UseInHandEvent args)
|
||||
{
|
||||
Roll(uid, component);
|
||||
}
|
||||
|
||||
private void OnLand(EntityUid uid, DiceComponent component, LandEvent args)
|
||||
{
|
||||
Roll(uid, component);
|
||||
|
||||
Reference in New Issue
Block a user