Skip to content

Commit

Permalink
-Fixed a few minor bugs that broke the config tool
Browse files Browse the repository at this point in the history
  • Loading branch information
chessmaster42 committed Jul 31, 2014
1 parent ad06a00 commit ed9290d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions SEModAPIInternal/API/Entity/BaseObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,10 @@ protected Dictionary<object, MyObjectBuilder_Base> GetObjectBuilderMap()

public void Refresh()
{
if (!IsDynamic)
return;
if (!IsMutable)
return;
if (IsResourceLocked)
return;
if (IsInternalResourceLocked)
Expand Down
2 changes: 1 addition & 1 deletion SEModAPIInternal/API/Entity/SectorEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public override string Name
{
get
{
MyObjectBuilder_Sector baseSector = (MyObjectBuilder_Sector)ObjectBuilder;
MyObjectBuilder_Sector baseSector = (MyObjectBuilder_Sector)base.ObjectBuilder;

try
{
Expand Down

0 comments on commit ed9290d

Please sign in to comment.