mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Fix Training not showing in barns.
Fix Crash on invalid ranch loading Add "Player here" click message.
This commit is contained in:
parent
2d2d6235e3
commit
afc232352d
6 changed files with 34 additions and 2 deletions
|
@ -1197,6 +1197,13 @@ namespace HISP.Game
|
|||
{
|
||||
|
||||
string message = "";
|
||||
|
||||
if(!Ranch.RanchExists(ranchId)) // Ghost ranchs exist.. apparently?
|
||||
{
|
||||
user.MetaPriority = false;
|
||||
return BuildMetaInfo(user, user.X, user.Y);
|
||||
}
|
||||
|
||||
Ranch ranch = Ranch.GetRanchById(ranchId);
|
||||
bool mine = (ranch.OwnerId == user.Id);
|
||||
string swfModule = ranch.GetSwf(mine);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue