relaxtakenotes / universal-screen-shake

Universal screen shake in GMOD
The Unlicense
0 stars 0 forks source link

Setting a custom "cl_screenshake_set_custom_mult" value ends up with errors #6

Closed Lombaxtard closed 1 year ago

Lombaxtard commented 1 year ago

Got around to try this command, but a constant error turned up the instant I've added a classname with a value:

lua/autorun/client/!!!!!!!!!!!!universal_screen_shake.lua:264: attempt to perform arithmetic on local 'custom_shake' (a nil value)

  1. on_primary_attack - lua/autorun/client/!!!!!!!!!!!!universal_screen_shake.lua:264
    1. fn - lua/autorun/client/!!!!!!!!!!!!universal_screen_shake.lua:287
    2. unknown - lua/ulib/shared/hook.lua:109

I tried USS with this. Error disappears once I "reload" another one in/cl_screenshake_reset_custom_mult in the moment

relaxtakenotes commented 1 year ago

should be fixed now

relaxtakenotes commented 1 year ago

nvm it's not

relaxtakenotes commented 1 year ago

now it should be lol jeez