ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.243 by root, Mon Apr 16 13:02:29 2007 UTC vs.
Revision 1.244 by root, Mon Apr 16 13:28:00 2007 UTC

9use Event; 9use Event;
10use Opcode; 10use Opcode;
11use Safe; 11use Safe;
12use Safe::Hole; 12use Safe::Hole;
13 13
14use Coro 3.52 (); 14use Coro 3.61 ();
15use Coro::State; 15use Coro::State;
16use Coro::Event; 16use Coro::Event;
17use Coro::Timer; 17use Coro::Timer;
18use Coro::Signal; 18use Coro::Signal;
19use Coro::Semaphore; 19use Coro::Semaphore;
2384 } 2384 }
2385 2385
2386 1 2386 1
2387} 2387}
2388 2388
2389our $archetypes_loaded;
2390
2391sub load_archetypes { 2389sub load_archetypes {
2392 return 1 if $archetypes_loaded++; # current can only load them once
2393 load_archetype_file sprintf "%s/archetypes", cf::datadir; # remove when stable 2390 load_archetype_file sprintf "%s/archetypes", cf::datadir; # remove when stable
2394 load_archetype_file sprintf "%s/archetypes", cf::datadir 2391 load_archetype_file sprintf "%s/archetypes", cf::datadir
2395} 2392}
2396 2393
2397sub load_treasures { 2394sub load_treasures {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines