alexandre-v1 / LandminePlacer

A lethal company mod for place landmine
MIT License
0 stars 1 forks source link

Fixed Landmines not being spawned by the Landmine Placer on newer LethalLib versions #2

Open Axyss opened 2 months ago

Axyss commented 2 months ago

Whenever a player, whether host or client, tried to use a Landmine Placer the following error was shown on the terminal:

imagen

Said error was caused by the LandminePlacer.Landmine field being null at the time of the landmine instantiation on the LandminePlacer.PlaceLandmineAtServerRpc() method, this PR patches this problem allowing the mod to be used normally again in v55 using the latest LethalLib release: v0.16.1