Fixed a bug regarding ARUP that caused crashes.
This commit is contained in:
		
							parent
							
								
									bbf8d103b3
								
							
						
					
					
						commit
						3844827724
					
				@ -77,18 +77,22 @@ public:
 | 
				
			|||||||
  {
 | 
					  {
 | 
				
			||||||
    if (type == 0)
 | 
					    if (type == 0)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					      if (arup_players.size() > place)
 | 
				
			||||||
        arup_players[place] = value.toInt();
 | 
					        arup_players[place] = value.toInt();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else if (type == 1)
 | 
					    else if (type == 1)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					      if (arup_statuses.size() > place)
 | 
				
			||||||
        arup_statuses[place] = value;
 | 
					        arup_statuses[place] = value;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else if (type == 2)
 | 
					    else if (type == 2)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					      if (arup_cms.size() > place)
 | 
				
			||||||
        arup_cms[place] = value;
 | 
					        arup_cms[place] = value;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else if (type == 3)
 | 
					    else if (type == 3)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					      if (arup_locks.size() > place)
 | 
				
			||||||
        arup_locks[place] = value;
 | 
					        arup_locks[place] = value;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    list_areas();
 | 
					    list_areas();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user