Skip to content

Commit

Permalink
screen now shakes during pizza time
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiskster committed Nov 23, 2023
1 parent eaa1ba6 commit e13aad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Lua/Hooks/PlayerThinks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ end)
addHook("ThinkFrame", do
local exitingCount, playerCount = PTSR_COUNT()
if PTSR.pizzatime then
P_StartQuake(FRACUNIT*4, 1)
PTSR.pizzatime_tics = $ + 1
if PTSR.timeleft and (exitingCount ~= playerCount) and CV_PTSR.timelimit.value then
PTSR.timeleft = $ - 1
Expand Down

0 comments on commit e13aad8

Please sign in to comment.