HaodongMo / ArcCW

57 stars 36 forks source link

Fix weapons not spawning in TTT #130

Closed lkw657 closed 2 years ago

lkw657 commented 2 years ago

TTT selects a weapon for each spawn in the spawn's initialization See: https://github.com/Facepunch/garrysmod/blob/master/garrysmod/gamemodes/terrortown/entities/entities/ttt_random_weapon.lua Currently ArcCW weapons are being set as spawnable in InitPostEntity which occurs after this Setting weapons as spawnable earlier in OnGamemodeLoaded fixes this issue