Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/lib/Serialize.cs b/lib/Serialize.cs
- index 42b7639..06770f5 100644
- --- a/lib/Serialize.cs
- +++ b/lib/Serialize.cs
- @@ -127,10 +127,14 @@ namespace Niecza.Serialization {
- byref[items[or.id]] = or;
- }
- + public SerUnit LoadUnit(string name) {
- + return LoadUnit(name, false);
- + }
- +
- // Loads a single unit from the compiled-data directory.
- // Will throw a ThawException if a stale reference is encountered
- // or other data format error.
- - public SerUnit LoadUnit(string name, bool fake = false) {
- + public SerUnit LoadUnit(string name, bool fake) {
- SerUnit su;
- // is the unit already loaded?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement