forked from mirrors/principia
Remove locked visibility check when trying to play a level
No point in these kinds of arbitrary checks in an open source project when it also inconveniences inspecting levels that have been locked
This commit is contained in:
parent
142e56b60f
commit
45fc40fd59
1 changed files with 0 additions and 6 deletions
|
|
@ -2713,12 +2713,6 @@ world::open(int id_type, uint32_t id, bool paused, bool sandbox, uint32_t save_i
|
|||
|
||||
}
|
||||
|
||||
if (!sandbox && this->level.visibility == LEVEL_LOCKED && G->state.pkg == 0) {
|
||||
ui::message("This level is locked and can only be played from inside a package.");
|
||||
tms_errorf("locked level");
|
||||
return false;
|
||||
}
|
||||
|
||||
this->level_id_type = id_type;
|
||||
if (is_autosave) {
|
||||
this->level.local_id = this->level.autosave_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue