shlifedev/among-us-memory

Error: Method expected in example code

Closed this issue · 3 comments

just add () after func name
it's so easy

HamsterCheese.AmongUsMemory.Cheese.ObserveShipStatus(OnDetectJoinNewGame())

HamsterCheese.AmongUsMemory.Cheese.ObserveShipStatus((x) => OnDetectJoinNewGame());

Or make your OnDetectJoinNewGame have a uint paramater