As the title says, hook OnLoseCondition is not called anymore.
But it does work if you remove the ref modifier from amount argument
@Wulf
Changeset: 23156
Oxide Version: 2.0.3515
Fixed OnLoseCondition hook not working with ref
Discussion in 'Rust Development' started by VVoid, Oct 6, 2017.
-
I imagine the documentation would be wrong in this case.
Looks like no reference of that argument is supplied in the hook call. Gyazo - 6835f86bd8ba477b2521255ce105fa51.png
Not even sure if hook calls support referenced arguments honestly. -
This should be fixed in the latest snapshot (AppVeyor)
-