mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Merged from revision: 2051
- Fixed resetting boxes fought (by anv) git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2052 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
@@ -17,13 +17,13 @@ function HourlyQuestUpdate()
|
||||
end
|
||||
|
||||
-- Bar/night club
|
||||
if ( cHour > 15 or cHour < 2) then
|
||||
if ( cHour >= 15 or cHour < 2) then
|
||||
|
||||
SetFactTrue( Facts.FACT_CLUB_OPEN )
|
||||
SetFactFalse( Facts.FACT_PAST_CLUB_CLOSING_AND_PLAYER_WARNED )
|
||||
|
||||
-- Reset boxes fought
|
||||
for i = 0,3 do
|
||||
for i = 0,2 do
|
||||
-- Set false
|
||||
gfBoxerFought(i,false)
|
||||
end
|
||||
|
||||
Binary file not shown.
@@ -17,13 +17,13 @@ function HourlyQuestUpdate()
|
||||
end
|
||||
|
||||
-- Bar/night club
|
||||
if ( cHour > 15 or cHour < 2) then
|
||||
if ( cHour >= 15 or cHour < 2) then
|
||||
|
||||
SetFactTrue( Facts.FACT_CLUB_OPEN )
|
||||
SetFactFalse( Facts.FACT_PAST_CLUB_CLOSING_AND_PLAYER_WARNED )
|
||||
|
||||
-- Reset boxes fought
|
||||
for i = 0,3 do
|
||||
for i = 0,2 do
|
||||
-- Set false
|
||||
gfBoxerFought(i,false)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user