Skip to content
Permalink
Browse files

Fixed debug counter for periodic events. Previously was counting each

time the game server was paused as an additional event.
  • Loading branch information...
Jake Fonseca
Jake Fonseca committed Oct 20, 2014
1 parent f35d821 commit a57d23d69096b4f6141b564b5e7b742b49608cdf
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/OCCPGameServer/team.rb
@@ -146,9 +146,6 @@ def run(app_core)
# Event Scheduler Thread Run Loop
while not @shuttingdown do

#Stats counter is for debugging only
loops = loops + 1

clock = $appCore.gameclock.gametime

#Stop running this event after its end time
@@ -215,6 +212,9 @@ def run(app_core)
$log.debug msgtext

end

#Stats counter is for debugging only
loops = loops + 1

@eventGroup.add(eventLocal)

0 comments on commit a57d23d

Please sign in to comment.
You can’t perform that action at this time.