Skip to content

Commit d97468e

Browse files
committed
api: Change int to float.
1 parent a27ed4b commit d97468e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VisualPinball.Engine.PinMAME.Unity/Runtime/PinMameGamelogicEngine.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ public void SetCoil(string n, bool value)
620620
OnCoilChanged?.Invoke(this, new CoilEventArgs(n, value));
621621
}
622622

623-
public void SetLamp(string id, int value, bool isCoil = false, LampSource source = LampSource.Lamp)
623+
public void SetLamp(string id, float value, bool isCoil = false, LampSource source = LampSource.Lamp)
624624
{
625625
OnLampChanged?.Invoke(this, new LampEventArgs(id, value, isCoil, source));
626626
}

0 commit comments

Comments
 (0)