ValveSoftware / portal2

Issues for the Linux port of Portal 2
145 stars 11 forks source link

Flag commands `r_portal_fastpath 0` and `r_skybox_draw_last 0` as `FCVAR_SERVER_CAN_EXECUTE` #437

Open vrad-exe opened 3 months ago

vrad-exe commented 3 months ago

The commands r_portal_fastpath and r_skybox_draw_last should be always allowed to be changed by servers in co-op, as these were previously disabled by a large number of community maps to fix certain rendering issues:

Due to the recent change of FCVAR_SERVER_CAN_EXECUTE now being enforced, this no longer works in co-op, breaking many old and new maps which rely on them. Both of these cvars have very well known and tested effects, and reset when the game is closed, so there is little risk of changing these causing permanent breakage to a player's game - at worst, you would just need to restart the game and it would be reset.