Author Topic: RTB_registerPref is a null function with default addons  (Read 633 times)

Code: [Select]
==>trace(1);
   Console trace is on.
Leaving ConsoleEntry::eval() - return
Entering ConsoleEntry::eval()
   ==>RTB_registerPref("Admin Only", "Duplorcator", "Pref::Duplorcator::AdminOnly", "bool", "Tool_Duplicator", 0, 0, 0);
   Entering RTB_registerPref(Admin Only, Duplorcator, Pref::Duplorcator::AdminOnly, bool, Tool_Duplicator, 0, 0, 0)
   Leaving RTB_registerPref() - return 0
Leaving ConsoleEntry::eval() - return
Entering ConsoleEntry::eval()
   ==>trace(0);

why? This even does the same thing on the Freebuild gamemode.

It is part of allgamescripts.cs.dso and basically just sets the variable to the default value. So add-ons that use RTB without RTB being installed don't cause errors.