Merge pull request #3331 from BcTpe4HbIu/airalarm_fix

Airalarm fix
This commit is contained in:
Zuhayr
2013-07-22 04:04:00 -07:00
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -125,6 +125,8 @@
pixel_x = (dir & 3)? 0 : (dir == 4 ? -24 : 24)
pixel_y = (dir & 3)? (dir ==1 ? -24 : 24) : 0
update_icon()
if(ticker && ticker.current_state == 3)//if the game is running
src.initialize()
return
first_run()
+2
View File
@@ -308,6 +308,7 @@ proc/setup_database_connection()
failed_db_connections = 0 //If this connection succeeded, reset the failed connections counter.
else
failed_db_connections++ //If it failed, increase the failed connections counter.
world.log << dbcon.ErrorMsg()
return .
@@ -345,6 +346,7 @@ proc/setup_old_database_connection()
failed_old_db_connections = 0 //If this connection succeeded, reset the failed connections counter.
else
failed_old_db_connections++ //If it failed, increase the failed connections counter.
world.log << dbcon.ErrorMsg()
return .