cato-a / CoDaM_MiscMod

Official MiscMod for CoDaM in Call of Duty 1.1
BSD 3-Clause "New" or "Revised" License
15 stars 5 forks source link

restore fov after !matrix #14

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi I think timescale sets default fov In this proposition, there is a wait before restoring because when testing, my fov wasn't restored when not waiting before setClientCvar.

cato-a commented 1 year ago

Hi, can you try with wait 0 or wait 0.05 and change if they work?

ghost commented 1 year ago

Didn't work with wait 0 but does work with wait 0.05 the pull request is updated

It looks something invisible appeared Line 2617 on the new commit I think it is because I was thinking about removing this empty line but re added it using Enter key Do I need to modify the way my Visual Studio Code does new lines/tabs for when proposing code to MiscMod? (my VSCode uses default settings btw)

cato-a commented 1 year ago

Looks fine to me. You could've omitted the bracing on the for loop tho. :)

Edit: Now that I look closer at it, seems like you added a tab (4 spaces) on that one line.

ghost commented 1 year ago

I thought it can be done only with if, thank you for telling me :) :$