TTT-2 / ttt2-role_pir

This is the "Pirate" role for TTT2. See https://github.com/Alf21/TTT2/issues/306 for details.
2 stars 5 forks source link

Wrog interaction with Amnesiac #4

Closed ThePlatinumGhost closed 4 years ago

ThePlatinumGhost commented 4 years ago

image [ERROR] addons/ttt2-role_pir-master/gamemodes/terrortown/entities/weapons/weapon_ttt2_contract.lua:183: attempt to index local 'masterTeamData' (a nil value)

  1. func - addons/ttt2-role_pir-master/gamemodes/terrortown/entities/weapons/weapon_ttt2_contract.lua:183
    1. unknown - lua/includes/extensions/net.lua:32

When a pirate give a contract to an Amnesiac this happens in the console

TimGoll commented 4 years ago

@lebroomer The amnesiac is a role without a team, just fyi

ThePlatinumGhost commented 4 years ago

UPDATE Also the unknown is affected by this bug if the pirate give the contract to an unknown this happend