Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7914 for code/trunk/data


Ignore:
Timestamp:
Feb 19, 2011, 4:33:50 PM (14 years ago)
Author:
landauf
Message:

since the mac_osx branch doesn't seem to get merged anytime soon, I fix this (potential) Tcl issue also in the trunk (see r7683)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/tcl/init.tcl

    r5781 r7914  
    9999#set ::orxonox::mediapath [string range $filepath 0 [string last "/" $filepath]]
    100100set ::orxonox::mediapath [file dirname $filepath]
     101
     102if {![info exists auto_path]} {
     103   set auto_path [list]
     104}
     105
    101106if {[lsearch $auto_path $::orxonox::mediapath] == -1} {
    102107    lappend auto_path $::orxonox::mediapath
Note: See TracChangeset for help on using the changeset viewer.