TTT-2 / ttt2-pointer

2 stars 5 forks source link

Update sv_pointer_handler.lua #8

Closed Krzyska-Filip closed 4 years ago

Krzyska-Filip commented 4 years ago

How it is working now (example): If we set ttt_pointer_enable_global to false, it still creates a pointer but it is invisible.

I think it is better to not create a pointer if it is disabled because of these messages "You have to wait 5 second(s) to add a new pointer!".

TimGoll commented 4 years ago

I'm not sure if I like this to be honest. The convars are checked a few lines further down. Your change would remove a small minor calculations, but nothing major.