StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
148 stars 3 forks source link

Bug: +slowtime is not cheat protected #1452

Closed Trico-Everfire closed 1 month ago

Trico-Everfire commented 1 year ago

Describe the bug

+slowtime is a console command that allows you to slow down time, it's currently not cheat protected and can be used anywhere whenever.

Issue Map

sp_a2_triple_laser

To Reproduce

  1. open map.
  2. open console.
  3. +slowtime
  4. you are slowed down even without sv_cheats 1.

Operating System

No response

vrad-exe commented 1 year ago

It shouldn't be cheat protected, you can turn it off by having an env_global set slowtime_disabled = 1 - probably that should be inverted so maps need to explicitly enable it instead.

ozxybox commented 1 month ago

Fixed by @craftablescience in the next staging build